Search

Out-Gridview fails to show in V2 after V3 update by SAPIENDavid

Active

11
0
Sign in
to vote
Type: Bug
ID: 774972
Opened: 12/21/2012 11:06:01 AM
Access Restriction: Public
0
Workaround(s)
5
User(s) can reproduce this bug
It seems the Out-Gridview cmdlet stopped functioning in v2 after a recent v3 update.
Details (expand)
How often does this happen?
Always Happens

Have you seen this problem before in this product?

No, this is new to the most recent version
Reproduction Steps
1. Start powershell in v2 mode:

powershell.exe -version 2

2. Pipe a command to Out-Gridview:

Get-Process | Out-Gridview

3. Run the command and you get the following assembly error:

Out-Gridview : To use the Out-GridView cmdlet, install the Windows PowerShell I
ntegrated Scripting Environment feature from Server Manager. (Could not load fi
le or assembly 'Microsoft.PowerShell.GraphicalHost, Version=1.0.0.0, Culture=ne
utral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system
cannot find the file specified.)
At line:1 char:27
+ Get-Process | Out-Gridview <<<<
    + CategoryInfo         : ObjectNotFound: (Microsoft.Power...1bf3856ad364e
35:AssemblyName) [Out-GridView], NotSupportedException
    + FullyQualifiedErrorId : ErrorLoadingAssembly,Microsoft.PowerShell.Comman
ds.OutGridViewCommand
Expected Results
The Out-Gridview show display a grid but nothing appears.
File Attachments
0 attachments
Sign in to post a comment.
Sign in to post a workaround.