Monday, January 9, 2012

Use Out-GridView Requirements

 

PowerTip of the Day, from PowerShell.com

 

Out-GridView is a great way to present results in a “mini-Excel” sheet:

Get-Process | Out-GridView

However, Out-GridView has two requirements:.NET Framework 3.5.1 and the built-in script editor ISE must both be installed. ISE is not installed by default on Windows Servers. So, if you want  to use Out-GridView on server products, you will need to make sure you install the ISE feature.

On a Server 2008 R2, you could enable ISE by using PowerShell:

Import-Module ServerManager

Add-WindowsFeature PowerShell-ISE

Thanks

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.