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: How to configure a custom PSSessionconfiguration
A remote session can be set up with the help of PSSession. The predefined remote session is used by default. However, we can also create our own session configurations and then connect […]
Hyper-V: Enabling VM Resource Metering
It is a good idea to monitor your Hyper-V VMs to get an overview of where resources are being consumed. Microsoft unfortunately doesn’t offer much in this area, this is rather left […]
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 […]
Exchange: How to export Mailboxes to PST Files
Today I will show you how to export Mailboxes from an Exchange Server to a single PST file. This blog post applies only to On-Premise Exchange Servers. By default, it’s currently not […]
How to implement your PowerShell 7 Scripts in Task Scheduler
So you’re already working with the latest PowerShell version and wondering how to automate your PowerShell 7 scripts with the task scheduler? Yes? Ok, then stay tuned I will show you two […]
Using winget with PowerShell to install Software remotely
In this blog post I will carry out how to remotely install software on a domain-joined Windows 11 client. Winget is a command line tool that provides a lot of different options […]
Windows 11: How to check Secure Boot Configuration
This is a quick and dirty blog post about checking Secure Boot via registry. UEFI Secure Boot is a requirement for running Windows 11. Graphical User Interface Press CTRL + R. Type […]



