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 …
Installing Windows Updates through PowerShell (script)
Sunday, July 27, 2025 in PowerShell
Categories:
Sometimes we want to install updates by hand because of the need for fast patching. But logging into every server and installing them manually is a hell of a task and takes a lot of time. I have made a very simple script to install Windows Updates by …
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 …
Skrepr Tech CI - PowerShell
Thursday, April 24, 2025 in PowerShell
Categories:
Dit is mijn Collective Intelligence voor mei 2025 over PowerShell. Ik ga hier wat leuke dingen over laten zien, zie de inhoud voor handige links naar de kopteksten. Aan het einde heb ik nog een leuke praktijkopdracht waarin we een PowerShell module …
Get Device serial number on Windows 11 24H2 and up
Wednesday, January 22, 2025 in PowerShell
Categories:
With Windows 24H2 and the deprecation of WMIC, a easy command to find your devices’ serial number is gone. However, we can still look this up with Powershell. Use the following command: POWERSHELL Get-WmiObject win32_bios | select SerialNumber …
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 …