Select Page

PowerShell Registry Monitor

Recently, while discussing work-related topics, a co-worker asked me if there is a way of monitoring changes on a Windows registry key. I knew we can monitor files, with the System.IO.FileSystemWatcher .NET class, but never heard of registry monitoring. Well, ... continue reading
✨

PowerShell Extension for Visual Studio Code August 2022 Update

We are excited to announce that the August update to the PowerShell Extension for Visual Studio Code is now available on the extension marketplace. This release adds a walkthrough experience for getting started with PowerShell in VS Code, more regression ... continue reading
Auto-Complete with CIM

The many flavours of WMI management

WMI is arguably one of the greatest tools a system administrator can have. You can manage Windows workstations, interact with Microsoft products, like the Configuration Manager, monitor server’s resources and many more. Today, we are going to look at the ... continue reading
🙂

Password Expiry Notification Using Teams and Graph API

Q: How do I send a password expiration notification to a user using Teams chat? A: Not only can you send the password notification, but you can use PowerShell with the Teams Graph API to send any message to a ... continue reading
✨

PowerShell Extension for Visual Studio Code July 2022 Update

We are excited to announce that the July update to the PowerShell Extension for Visual Studio Code is now available on the extension marketplace. This release renames the “PowerShell Integrated Console” to the “PowerShell Extension Terminal” to align with VS ... continue reading
Console excerpt, showing a menu of parameter options for dir

Cheat Sheet – Console Experience

PowerShell can take some getting used to. Especially if you come at it from a different Shell and don’t see any way to get your good old experience back. However, hidden behind that plain white on blue shell, there is ... continue reading

PowerShell Extension for Visual Studio Code June 2022 Update

We are excited to announce that an update to the PowerShell Extension for Visual Studio Code is now available on the extension marketplace. This release fixes a number of issues related to IntelliSense and enables updates to PowerShell Editor Services (the ... continue reading

Hosting PowerShell in a Python script

Yes Virginia, languages other than PowerShell do exist. I was working with a partner group here at Microsoft and they explained that they wanted to parse PowerShell scripts from Python. Their natural approach was to invoke the PowerShell executable and ... continue reading

PSReadLine 2.2.6 enables Predictive Intellisense by default

PSReadLine first introduced Predictive IntelliSense using History based suggestions as a customer enabled feature in November 2020. Since its introduction, two new predictors have become available: An experimental PowerShell CompletionPredictor The Az.Tools.Predictor for Azure PowerShell Today, we are announcing that ... continue reading

Reading Configuration Manager Status Messages With PowerShell

Q: I can read Configuration Manager status messages using the Monitoring tab. Can I do it using PowerShell? A: Yes you can! We can accomplish this using SQL/WQL queries, plus the Win32 function FormatMessage. Better understanding Status Messages Before we ... continue reading