PowerShell DeepDive: WPF, Data Binding and INotifyPropertyChanged

PowerShell can be used to create some nice UI front-ends using the Windows Presentation Framework (WPF). You can create anything from a simple popup window to a full-blown, self-contained application. A major concept in WPF is that of data binding. Data binding allows you to create some separation between the design of the UI and … Continue reading PowerShell DeepDive: WPF, Data Binding and INotifyPropertyChanged

Decrypting Remote Desktop Connection Manager Passwords with PowerShell

Today I needed to find a password for a certain account I had used before (but had forgotten), and I remembered that I had stored the credentials in the Remote Desktop Connection Manager, Microsoft's free RD tool. Of course, it crossed my mind whether these credentials could be decrypted, and it turns out they can, … Continue reading Decrypting Remote Desktop Connection Manager Passwords with PowerShell

Explore WPF Controls with PowerShell

If you've ever tried creating a tool or an application with WPF, you know that the built-in controls contain many properties, methods and events, and finding the right one to use can be, well, fun! As an aid to creating WPF applications, I created this simple tool which explores the various controls and exposes their … Continue reading Explore WPF Controls with PowerShell

Create a WPF Application with Navigation using PowerShell

In WPF, there are two types of window which can host your application content.  The most commonly used is simply the window (System.Windows.Window in .Net).  But there is another window type, the navigation window (System.Windows.Navigation.NavigationWindow) which takes a slightly different form and includes some basic navigation controls similar to what you would use in a … Continue reading Create a WPF Application with Navigation using PowerShell

Forcing a ConfigMgr Client to Send a New CCMEval Report

In order to maintain a healthy ConfigMgr environment, it is important to know that your clients have successfully run the Configuration Manager Health Evaluation task and reported the results to the Site server.  Sometimes you will find a number of systems that have not reported any health status to the Site server.  In the Devices … Continue reading Forcing a ConfigMgr Client to Send a New CCMEval Report

PowerShell Stopwatch

In PowerShell scripts it is sometimes helpful to use a timer, for example to measure how long a certain task takes.  If you create GUI applications with PowerShell, it can be useful to display a timer during a long-running task.  It's actually quite simple to do and there are plenty of examples for C# programmers, but … Continue reading PowerShell Stopwatch

New Free App – ConfigMgr Deployment Reporter

Just released a new free application for ConfigMgr admins - ConfigMgr Deployment Reporter.  I developed this app for use in the organisation I currently work for, and it turned out quite well, so I decided to release a public version to the community! I developed this app as an alternative (and IMO easier) way to … Continue reading New Free App – ConfigMgr Deployment Reporter

Testing for Local Administrator Privilege with PowerShell

When writing PowerShell scripts it is sometimes necessary to know whether the user account running the script has local administrator privileges.  A piece of code often used for this is: However, this code only returns true when run in an elevated context, so it is not really a test of whether the user has local administrator … Continue reading Testing for Local Administrator Privilege with PowerShell