Chapter 23. Creating a GUI tool, part 1: the GUI

In this chapter and the two after it, we’re going to show you how to use PowerShell to build a graphical user interface (GUI) application, suitable for distribution to end users. Note that there’s no way to compile this into an executable that doesn’t need PowerShell in order to run, but we’ll be able to make this look a lot like a real Windows application.

Before writing this chapter, we thought long and hard about what directions to take, because when it comes to building a GUI we have several. We decided to use Windows Forms (WinForms), one of two .NET Framework GUI systems. We also decided, for the most part, to rely on a commercial tool named PowerShell Studio (http://primaltools.com) to ...

Get Learn PowerShell Toolmaking in a Month of Lunches now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.