A PowerShell Input Tool

In PowerShell, the primary means to get interactive input from a user is with the Read-Host cmdlet. There’s nothing wrong with it but sometimes if you are using it in a graphical tool like the PowerShell ISE or VS Code you may not realize you are being prompted. Or perhaps you are building some other type of PowerShell-based tool where you would like something other than a console-based prompt. I thought I’d give a sneak peak at a function I will be adding to my PSScriptTools module that creates a graphical inputbox using WPF.

Continue reading