Forum Discussion
Larry Keyes
Oct 26, 2017Copper Contributor
GUI form front-end for Powershell
Looking for a (free?) GUI form frontend for scripts that I want to distribute to users. Basically, I want to gather three or four data points.... such as first name, lastname, domain name, and...
VasilMichev
Oct 26, 2017MVP
PowerShell supports this natively, you can get the input directly as prompts in the script, or if you want you can build a real UI with buttons and other controls. An easy to use tool is the PoshGUI project: https://poshgui.com/
There are also "professional" solutions, look them up.
- Larry KeyesOct 26, 2017Copper Contributor
Vasil,
Many thanks for the PoshGUI reference. That looks promising. I did look into Powershell Studio from Sapien...which is really wonderful, but pricey, and I'm using PowershellPlus as my normal development environment right now. --- Larry
- Larry KeyesOct 26, 2017Copper ContributorAs for "native" GUI support within Powershell....apart from a few instances.... like Get-Credential, and a couple of the output commands my understanding is there isn't really support for GUI screen input. And of course character-based input comes in through Read-Host. --- Larry
- VasilMichevOct 27, 2017MVP
Apart from password prompt, there are few other built-in methods you can invoke. Check them via
$host.ui | gm