Creating WPF GUI Applications with Pure PowerShell

When creating a GUI application in PowerShell, I usually use Visual Studio, or Blend for Visual Studio, to design a WPF application, then copy and run the XAML code in PowerShell.  Designing in VS is generally easier and quicker and creates less code, but it is also perfectly possible to create a WPF GUI using … Continue reading Creating WPF GUI Applications with Pure PowerShell

PowerShell Tip: Utilizing Runspaces for Responsive WPF GUI Applications

For those with limited C# or VB.Net programming skills, using PowerShell with XAML code is a great way to create a simple GUI application.  But because the PowerShell host is single-threaded, all your code must run sequentially.  When you have long running commands, this can cause the GUI to freeze and be unresponsive, and you … Continue reading PowerShell Tip: Utilizing Runspaces for Responsive WPF GUI Applications