How To Create A GUI For Your PowerShell Script With WPF

We’ve all written and demonstrated useful scripts for a coworker that, when tasked with running the script themselves, snubbed their nose at the command line requirement. Because you like to challenge yourself, you decide that instead of preaching PowerShell to them, which you do enough of already, you’d rather learn a new skill: Adding a GUI to your scripts.

In this video, Anthony will take you down the path of creating a simple .NET based GUI for a simple script using WPF. He’ll walk you through creating the window, adding in layouts (Grid and StackPanel) adding controls (TextBox, Button), and adding script actions.