PowerShell
All pages referring or tutorials for PowerShell.
Windows Server Inventory Report Script
Thursday, November 13, 2025 in PowerShell
Categories:
4 minute read
To help us IT identifying certain configurations on a server and possible misconfigurations I have made a PowerShell script which creates a complete overview of the current server configuration and exports it as a single HTML file. In this post I …
Remove Roaming Profile folders with PowerShell (force)
Wednesday, September 24, 2025 in PowerShell
Categories:
4 minute read
What this script does This script tries to clean and delete a folder which I have used in the past to remove Roaming Profile folders from Active Directory. These folders are heavily secured as personal data might reside in it. It can also contain …
Clean files on a schedule with Powershell script
Thursday, September 18, 2025 in PowerShell
Categories:
7 minute read
Sometimes in IT, we have software or solutions that need to to save temporary files in your filesystem. Let’s say, a feed with logs or CSV files that are saved, logs or back-ups like the Bartender software. The software itself doesn’t …
How to completely hide language bar/selector Windows 11
Tuesday, September 09, 2025 in PowerShell
Categories:
3 minute read
One of the small things I experienced in one of the updates for Windows 11 (24H2) is that the language bar/selector get’s automatically visible on the Windows taskbar. In previous versions of Windows, this was only available when using multiple …
Initial Installation script for Windows Azure VMs
Sunday, August 10, 2025 in PowerShell
Categories:
3 minute read
When deploying Windows VMs in Azure, we get the default settings. This means we get a 12-hour clock, standard UTC/Zulu timezone and such. For users like us in the Netherlands we want to change this but not by hand. For this purpose I built this …
Disk cleaning script on Windows Azure VMs
Saturday, June 28, 2025 in PowerShell
Categories:
6 minute read
On Windows Servers, a critical point is maintaining the disk space. If a disk fills up to the end, several errors can occur and impacting the end-users experience of your applications. Something we definitely not want. To help reducing this chance, I …
Get Device serial number on Windows 11 24H2 and up
Wednesday, January 22, 2025 in PowerShell
Categories:
less than a minute
To get your device’s serial number, use the following command in Windows PowerShell: POWERSHELL Get-WmiObject win32_bios | select SerialNumber Its as simple as that! End of the page 🎉 You have reached the end of the page. You can navigate …
How to upload PowerShell script to Gallery with Github Actions
Thursday, January 02, 2025 in PowerShell
Categories:
8 minute read
When using the PowerShell Gallery to upload and publish your scripts and PowerShell modules to the world it’s recommended to use Github Actions for CI/CD to automatically update your live packages on the PowerShell Gallery. At first, this …
Create AD users with on demand script
Friday, December 27, 2024 in PowerShell
Categories:
4 minute read
Today I have a PowerShell script that creates users by asking the user what to fill in. This works by having a fully prepared “New-ADUser” command with all the properties filled in to have all users using the same attributes. I will …
How to Export Active Directory (AD) users fast and easy
Thursday, November 14, 2024 in PowerShell
Categories:
3 minute read
Sometimes we need to export all of our AD users. The one time for applying changes, sometimes for monitoring the inventory but often for licensing purposes. At this page I will show you how to export all your AD users fast and easy. The Export AD …