Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Build Simple Menu

$
0
0

Summary: Use the Out-Gridview cmdlet to easily build a GUI menu.

Hey, Scripting Guy! Question How can I easily build a GUI menu in Windows PowerShell so I can select items from a list?

Hey, Scripting Guy! Answer Pipe any array to the Out-Gridview cmdlet and you can capture the results!

‘AddUser’,’RemoveUser’,’DeleteUser’,’ExitSystem’ | Out-Gridview -passthru


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>