-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Help command in PS 6.2.1 has a non-functional -ShowWindow parameter #9778
Copy link
Copy link
Closed
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.
Milestone
Description
Steps to reproduce
help Compress-Archive -ShowWindow
#works with any command, not just Compress-ArchiveExpected behavior
help Compress-Archive -ShowWindow
#expect a new window to pop up displaying the help for the cmdlet.
#Since this is really a Windows platform thing, then it would be ok if this parameter simply was not there
Actual behavior
PS C:\Program Files\PowerShell\6> help Compress-Archive -ShowWindow
Get-Help : A parameter cannot be found that matches parameter name 'ShowWindow'.
At line:64 char:22
+ $help = Get-Help @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-Help], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.GetHelpCommand
Environment data
Name Value
---- -----
PSVersion 6.2.1
PSEdition Core
GitCommitId 6.2.1
OS Microsoft Windows 10.0.17134
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.