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

 

One comment

  • Quality posts is the secret to interest the users to go
    to see the site, that’s what this web page is providing.

     

Leave a Reply

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