How To: Create a GUI Application with PowerShell
If you want to see an example of a GUI application created in Windows PowerShell, take a look at the Lync Server Deleteomatic. If you want to learn how to use PowerShell to create your own Deleteomatic, or any other type of GUI application, read this article. We’ll take you through step-by-step.
This article is for anyone working with Windows PowerShell. If you’re not working with Lync Server, we’ve pointed out where the Lync Server specific code is and you can easily replace it with any other .NET or PowerShell code.
https://blogs.technet.com/b/csps/archive/2011/12/07/guiapp.aspx