You created a script or function a while back that people in the company use a lot, and suddenly... They come to you telling you that it doesn't work anymore. 🙁 The module you used has become deprecated, cmdlets don't all work anymore, etc. In this blog post, I will show the three most prominent modules that have become deprecated and where you can find good information about the successor to adjust your scripts.
Using $using in PowerShell for local variables in remote sessions
When running scripts that connect to remote systems using Invoke-Command, you can use your local variables in the remote session which makes things a lot easier. In this blog post, I will show you how 🙂
Report on Non-Compliant Intune devices
I received a question on the Microsoft Tech Community forum regarding creating a report about non-compliant Intune devices. The report should give insight into what device has what issue with which setting; the person asking the question was already working on a Microsoft Graph script but couldn't find a suitable way. In this blog post, I will show how to create this report. There are other scripts out there, but I always like a challenge (And Microsoft Graph can be quite a challenge sometimes 😉 )
Report from which PowerShell module the cmdlets are from
We all encountered this: you get a script or function that uses a certain cmdlet... And it fails because the cmdlet is not recognized 🙁 But which module should you install to get the script working? Or does your script install or import all the required modules? In this blog post, I will show you how to check from which module(s) the cmdlet(s) originate and if they are present on your system or if you should install them.
PowerShell data/reference types for variables
When you store data in a variable, PowerShell can store it how you want it to be if you use the correct data type. This blog post will show you how that works and which data types I mostly use for my scripts.
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 … Continue reading Installing Windows Updates on all your Hyper-V lab VMs using PowerShell and PSWindowsUpdate
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 … Continue reading Use PowerShell to create report of a DTS Compliant NPS log
Disabling Idle Power Save using Intune and PowerShell
One of our customers sought a solution to disable Idle Power Save on their Realtek USB GbE network adapters using Intune. Because of that setting, their users were disconnected from their Remote Desktop sessions multiple times during the day. This blog post will show you how to disable that setting using Intune, a Windows app (Win32), or a Remediation script.
250.000 visitors!
This site just reached a new milestone: 250.000 visitors! It started on April 21st, 2021, and it's been almost two years already now 🙂 In this blog post, I will link to other milestones and tell you how things are going for me now... (Spoileralert: Great 🙂 )
PowerShell 5 and 7 command-line parameters
You can start PowerShell 5 (powershell.exe) and PowerShell 7 (pwsh.exe) and specify parameters. This blog post will show you the parameters I use most for version 5 or 7.