Simplistic GUI for Powershell input

 

I ran into a simple example of how you can use out-gridview with the -OutputMode switch (like -Passthru). It creates a simplistic GUI for Powershell input.

  • This script displays all servers in your domain and lets you select multiple.
  • Then it provides you with a list of powershell scripts in c:\scripts and lets you choose one.
  • At last it will run the script on those servers and presents the output in a gridview.

All kudos for Mike Robbins

 

Leave a Reply

Your email address will not be published. Required fields are marked *