Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The -Repository parameter of Publish-PSResource supports wildcards but is missing the attribute #1705

Open
3 tasks done
sdwheeler opened this issue Sep 16, 2024 · 0 comments
Labels
Area-PSRepository Issue-Bug Something isn't working

Comments

@sdwheeler
Copy link
Contributor

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

PS> (gcm Publish-PSResource).Parameters.Repository.Attributes

ExperimentName                  :
ExperimentAction                : None
Position                        : -2147483648
ParameterSetName                : __AllParameterSets
Mandatory                       : False
ValueFromPipeline               : False
ValueFromPipelineByPropertyName : False
ValueFromRemainingArguments     : False
HelpMessage                     :
HelpMessageBaseName             :
HelpMessageResourceId           :
DontShow                        : False
TypeId                          : System.Management.Automation.ParameterAttribute

TypeId : System.Management.Automation.ValidateNotNullOrEmptyAttribute

Type        : RepositoryNameCompleter
ScriptBlock :
TypeId      : System.Management.Automation.ArgumentCompleterAttribute

Expected behavior

TypeId
------
System.Management.Automation.SupportsWildcardsAttribute

Actual behavior

Attribute is missing

Error details

No response

Environment data

PS> gmo Microsoft.PowerShell.PSResourceGet

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Binary     1.1.0      preview2   Microsoft.PowerShell.PSResourceGet  {Compress-PSResource, Find-PSResource, Get-Instal…

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.5.0-preview.4
PSEdition                      Core
GitCommitId                    7.5.0-preview.4
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-PSRepository Issue-Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants