Skip to content

Calling Get-Help with the 'ShowWindow' parameter throws an error in the integrated console #570

Closed
@rkeithhill

Description

@rkeithhill

System Details

  • Operating system name and version:
    Windows 10 Enterprise Version 1607 (OS Build 14393.1066)
C:\> code -v

1.12.2
19222cdc84ce72202478ba1cec5cb557b71163de
C:\> $pseditor.EditorServicesVersion


Major  Minor  Build  Revision
-----  -----  -----  --------
1      0      0      0


C:\> code --list-extensions --show-versions

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
C:\> $PSVersionTable


Name                           Value
----                           -----
PSVersion                      5.1.14393.1066
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.1066
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1


C:\>

Issue Description

Not sure if this is supposed to work, but ...

Calling Get-Help with the 'ShowWindow' parameter throws an error in the integrated console

C:\TEST> help Invoke-RestMethod -ShowWindow

Get-Help : Exception has been thrown by the target of an invocation.
At line:55 char:5
+     Get-Help @PSBoundParameters | more
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-Help], TargetInvocationException
    + FullyQualifiedErrorId : System.Reflection.TargetInvocationException,Microsoft.PowerShell.Commands.GetHelpCommand
[logs.zip](https://github.com/PowerShell/vscode-powershell/files/1007246/logs.zip)

Attached Logs

logs.zip

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions