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

be5invis.vscode-icontheme-nomo-dark@1.3.0
christian-kohler.path-intellisense@1.4.2
eamodio.gitlens@3.4.9
eridem.vscode-postman@0.5.1
Ionide.Ionide-fsharp@2.25.12
ms-vscode.csharp@1.9.0
ms-vscode.PowerShell@1.0.0
Shan.code-settings-sync@2.7.0
Tyriar.theme-sapphire@0.2.1
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