The Microsoft Secure Boot certificate expires in 2026. Here is a PowerShell script that retrieves the Secure Boot boot certificate information from all domain computers and checks whether they contain the CA […]
PowerShell: List all USB-Devices
This blog post will be a short one. I will show you how to list all USB-Devices on your computer. We will use PowerShell for this task, what else? Here it is: […]
Sudo for Windows (PowerShell)
Sudo for Windows is a new way for users to execute commands with elevated privileges (as an administrator) directly from a non-relevant console session on Windows. The following requirements apply to the […]
PowerShell: Search for Empty Folders (and delete them)
We live in times of Big Data. Too much data in too short a time. You may have empty folders in your environment and if you want to search for them and […]
PowerShell: Search and delete empty Folders
Big Data? Pain? Looking for empty folders and want to delete them? In this post I show you how to proceed to find and delete empty folders. Open PowerShell, ISE or VS […]
Administering Windows Defender with PowerShell
In this article, I will focus on Microsoft Defender. I will give you a few examples that you can build on. It’s not about doing wonderful things, it’s about basics. Let’s jump […]
Monitor Local User Logons on Windows Operating Systems
User Logons on Microsoft Windows operating systems are called Logon Events. In this short blog post I will show you a PowerShell One-Liner which retrieves all user logons of a particular user. […]
Empty the Recycle Bin with PowerShell and the Task Scheduler
In this post I will show you how to empty the recycle bin automatically. For this I will use PowerShell and Scheduled PowerShell Jobs. So I will show two ways how to […]
List all logged on Users with quser.exe and PowerShell
In this short article I will show how to list all logged on local users with the quser.exe tool. Quser displays information about logged on users on the local computer and on […]
PowerShell: Zip multiple Folder or Files at once with Compress-Archive
Compressing files is a common task. For saving time, you can use PowerShell to automate the compression process. In this blog post I will show you how to compress multiple folders at […]
How to create a NAT-Switch on Hyper-V with PowerShell
NAT is a technology to convert IP addresses. If you have a test environment then it might be necessary that your VMs need an internet connection and that you don’t want to […]
Enable Remote Desktop remotely with PowerShell (Enable-RemoteDesktop)
Forgot to enable remote desktop? This is bad. The only solution is to go back to the remote computer and then enable RD. Not really. In this blog post I will show […]
Create Hyper-V VMs with PowerShell (Single, Multiple)
In case you have Hyper-V in use, then you are in the right place. In this blog post I will show you how to create VMs in Hyper-V. I will also show […]
Windows 10: Configure Auto-Logon with PowerShell Automation
Sometimes we just need a computer with the so-called auto-logon feature. This feature is without a doubt a security risk but on the other hand it is a good way to make […]
Windows: Find and eliminate Duplicate Files with PowerShell
We are living in a big data world which is both a blessing and a curse. Big data usually means a huge number of files such as photos and videos and finally […]



