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 […]
PowerShell: Create a Graphical Desktop Shortcut with Computer Info and Link to the Ticket System (Helpdesk)
As adminstrator you are not only responsible for assigning group policies or playing the cop who always watch what users do or not. A major part of your duties is to make […]
PowerShell 7: Foreach-Object -Parallel
With PowerShell 7 a new feature was introduced: Foreach-Object -Parallel. The parallel feature will speed up loops in PowerShell. In this blog post I will compare the old technique with the new […]
Test-Connection (ping) with PowerShell 7
In one of my previous articles I dedicated myself to the modern version of ping called Test-Connection. I recently discovered that the cmdlet in PowerShell Core 7 offers more parameters than in […]