Friday, 24 October 2014

GUI Creation Methods for PowerShell

There are many ways to create GUI for powershell... Below are the some of main option which I used to create powershell GUI.
  1. Windows Forms.
  2. Windows Presentation Foundation (WPF) by Integrating XAML into Powershell 
  3. Sapien powershell studio etc: Download 
Windows Forms (Win Forms)
Windows Forms is a set of managed libraries in .NET Framework. Win-form is designed to develop client applications and it provides different kind of  controls, such as text-boxes, buttons, and web pages along with options to create custom controls.

Windows Presentation Foundation (or WPF)
WPF is the latest technology for creating GUI and initially released as a part of .NET 3.0 which includes the features like 3D support, Interactive data visualization and content readability.

      .Net Framework Latest Stack:

Wikipedia Definitions:
Windows Forms (Win Forms) is the name given to the graphical application programming interface (API) included as a part of Microsoft .NET Framework, providing access to native Microsoft Windows interface elements by wrapping the extant Windows API in managed code. While it is seen as a replacement for the earlier and more complex C++ based Microsoft Foundation Class Library, it does not offer a paradigm comparable to Model–View–Controller. Some after-market and third party libraries have been created to provide this functionality. The most widely used of these is the user interface application block which is released by the Microsoft patterns & practices group as a free download that includes the source code for quick start examples.

Windows Presentation Foundation (or WPF) is a graphical subsystem for rendering user interfaces in Windows-based applications by Microsoft. WPF, previously known as "Avalon", was initially released as part of .NET Framework 3.0. Rather than relying on the older GDI subsystem, WPF uses DirectX. WPF attempts to provide a consistent programming model for building applications and separates the user interface from business logic. It resembles similar XML-oriented object models, such as those implemented in XUL and SVG.

Refer the below link to know how to build GUI using powershell
Building GUI Using Powershell


  1. Nice introduction VivekRR, have you also looked into XAML ? It is a pretty interesting feature, and allows to generate grapical Gui's directly from Visual Studio express, which makes it actually free.

  2. Very helpful suggestions that help in the optimizing website. Thank you for valuable suggestions.Powershell Studio 2017