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

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

Closed
csandfeld opened this issue May 17, 2017 · 4 comments
Labels
Issue-Bug A bug to squash.

Comments

@csandfeld
Copy link

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

@daviwil
Copy link
Contributor

daviwil commented May 17, 2017

Strange, haven't seen that one before. Will investigate, thanks!

@alexaymonier
Copy link

Yeah getting that too

@daviwil daviwil modified the milestones: 1.4.1, June 2017 Jun 22, 2017
@daviwil daviwil modified the milestones: 1.4.2, 1.5.1 Aug 24, 2017
@daviwil daviwil modified the milestones: 1.5.1, Future Oct 26, 2017
@alexaymonier
Copy link

Also running Lee's Show-Object from his PowerShellCookbook fails to open a new window.

@rkeithhill
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash.
Projects
None yet
Development

No branches or pull requests

4 participants