You always use certificates but forget when they expire until it's too late. In this blog post, I will show you how to use a small script when starting a PowerShell session to display certificates about to expire on your Windows system.
Category: Security
Use PowerShell to check if (shortened) URL link is safe
It just happens a lot: you receive a (shortened) URL and are unsure if it's safe to open. Sometimes, I open it in Windows Sandbox or use the urlscan.io website. In this blog post, I will show you how you can automate the check of a URL and see if it's safe or not 🙂
Query the required permissions of a Microsoft Graph cmdlet
Microsoft Graph can be difficult sometimes. There are loads of PowerShell Microsoft Graph Modules and cmdlets that require different permissions. In this blog post, I will show you how to query the permissions for a cmdlet, multiple cmdlets, or all cmdlets from a specific Microsoft Graph module.
Configuring PowerShell settings using Intune or Group Policy
Every Windows device has PowerShell installed by default. (Sadly, it's still only version 5, not version 7.) However, you want to configure the devices' security and log settings. In this blog post, I will show you how to do that using Microsoft Intune or Group Policy.
Using Export-Clixml and Import-Clixml for credentials in PowerShell scripts
Using clear-text passwords in PowerShell scripts is, of course, a bad thing to do. But sometimes, you need to use credentials in a script to connect to a server, service, etc. In this blog post, I will show you how you can use Export/Import-Clixml to do that.
Installing Windows Updates on all your Hyper-V lab VMs using PowerShell and PSWindowsUpdate
I'm a Consultant who does a lot of Intune testing, and I use Hyper-V on my laptop with many VMs in customer environments. Some VMs are used more than others, but when you turn them on after a few weeks... They need updates and restarts, and I wanted to automate that process so that it can run in the background while working without me having to log in, click buttons, and track progress... In this blog post, I will show you how to automate that 🙂
Use PowerShell to create report of a DTS Compliant NPS log
One of our customers had issues authenticating clients using NPS. One of the first things you do is... I read the NPS logs, and they were DTS Compliant formatted, a bit of a pain to read and search 🙁 So, I used PowerShell to create a nice log for me in either a GridView or an Excel file. In this blog post, I will show you how!
Using the PowerShell PSWindowsUpdate module
I've been using the PSWindowsUpdate module for a while now; it's very convenient when spinning up a test VM for a customer if you want to have it up-to-date before going through the Windows Autopilot process, for example. In this blog post, I will show you how the module works with a few examples of how I use it.
Using Get-ManagementRole to get the permissions required for Exchange-specific cmdlets
I ran into an issue where one of my Exchange scripts didn't work, "a parameter could not be found that matches the parameter..." Strange error because the parameter is there... Or is it? In this blog post, I will show you how Get-ManagementRole works in Exchange and how it can help you with issues like this.
Check for non-Microsoft signed Windows Services
I have a lot of Windows Services on my Windows 11 laptop, mainly from Microsoft itself or third-party, but Microsoft signed are safe(r). In this blog post, I will show you how you can scan your system for non-Microsoft signed Windows Services and create a report on those.









