Skip to content

Help command in PS 6.2.1 has a non-functional -ShowWindow parameter #9778

@figueroadavid

Description

@figueroadavid

Steps to reproduce

help Compress-Archive -ShowWindow
#works with any command, not just Compress-Archive

Expected 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

Metadata

Metadata

Assignees

Labels

Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions