PowerShell
All pages referring or tutorials for PowerShell.
Windows Server Inventory Report Script
Thursday, November 13, 2025 in PowerShell
Categories:
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 …
Clean files on a schedule with Powershell script
Thursday, September 18, 2025 in PowerShell
Categories:
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:
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:
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:
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:
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:
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:
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:
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 …
Set correct language and timezone on Azure VM
Thursday, October 10, 2024 in PowerShell
Categories:
By default, all Azure VMs are set to English language and UTC/Zulu timezone. This will work for a great portion of the Azure VM users but there are users in other parts of the world too. Like in the Netherlands, where I live we are 1 or 2 hours ahead …