

Develop your PowerShell scriptsĭon’t think about the UI yet. The GUI shown was completely built as I have outlined below using MVVM. Entity Framework (if you plan to store data/log in SQL Server.PowerShell knowledge (recommend this Stairway series or this great book).Basic WPF knowledge ( highly recommend this YouTube series).Basic C# knowledge (recommend this YouTube series).Visual Studio 2019 (use the free community edition if you qualify).

You will never regret the time you put into it! I can help you by answering basic questions or provide resource links for you on these. If you are not familiar with one or more of these, please take the time to learn them. I cannot share this program itself for obvious reasons but can share all the ideas behind it and the XAML for this UI! Here is the GUI that I recently built for managing SQL Server logins (we manage SQL Logins with Active Directory Groups) using PowerShell scripts underneath. There are so many ways to do this but if you know C#, the easiest way to do this is to do it in Visual Studio itself with pure C# & WPF with the underlying reusable functionality powered by your own PowerShell scripts or scripts already in existing modules. exe building process around PowerShell scripts. Also, Sapien (our PowerShell User Group sponsor) has PowerShell Studio that helps you with the GUI or.

WPF (and Winforms to a certain extent) has traditionally been that amalgam that bridged the gap. There are also those times you just don’t have the energy to type it all out! You still want the scripts to be independently functional for automation purposes and to help the pure command-line only user. I do give you the key functions necessary to make it all work for your scenario and choices you want to make.Īs an Admin and an avid PowerShell enthusiast who has developed libraries for some time, I have had situations where a GUI around a set of related scripts might help the end-user better than the scripts themselves no matter the amount of help/documentation in your scripts (like Helpdesk/Support). It is not a complete solution that is ready to use. This post is just to give you an idea of what is possible with PowerShell and WPF.
