Today I was writing some PowerShell functions and I wanted to see the results in GridView like below;


This output to the results from PowerShell in GridView and as if it is a windows application..

And I got exception in the first screenshot saying “ [ Out-GridView ], Not supported exception.

But that was easy since PowerShell is telling you how to solve it.

In the coming line from the exception it is saying, “ Out-GridView : To use the Out-GridView cmdlet, install the Windows PowerShell Integrated Scripting Environment Feature from Server Manager. “

You need to go Features in Server Manager..


And Install…. Smile

That was easy and start forward from PowerShell !