PowerShell Pro Tools: Generate Toolcommand you can generate a WinForm and then compile it into an executable in one step. It uses the same concept as the Generate a UI from a function and the PoshTools packager to create the tool.
Ctrl+Shift+Pto open the command pallete and search for the command. You will need to have a PS1 file open with a single function in it that defines the parameters for the tool you'd like to create.
NewUser.ps1, then a
NewUser.exewould be created that would show the form and execute your tool.