Powershell
You are viewing all posts in the Powershell category.
Must-have PowerShell Modules for Azure and Microsoft 365 Administrators
When you reinstall your admin workstation or setup a fresh workstation, there are always a couple of PowerShell modules and tools must be installed install directly. These modules save a lot of time and make managing Azure and Microsoft 365 environments much easier but you always...
Old Printers Control Panel Windows 11
With Windows 24H2 and the deprecation of the old Devices and Printers control panel window, an easy command to still get there is still there. This can be found on this page.
Windows Server Inventory Report Script
To help us IT identifying certain configurations on a server and possible misconfigurations I have made a PowerShell script which creates a...
Remove Roaming Profile folders with PowerShell (force)
This guide uses and describes a PowerShell script that removes a roaming profile folder by taking ownership, fixing permissions and attributes, and using a robocopy fallback if delete fails due to several possible reasons.
Clean files on a schedule with Powershell script
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...
How to completely hide language bar/selector Windows 11
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...
Initial Installation script for Windows Azure VMs
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...
Installing Windows Updates through PowerShell (script)
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.
Disk cleaning script on Windows Azure VMs
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...
Get Device serial number on Windows 11 24H2 and up
With Windows 24H2 and the deprecation of WMIC, an easy command to find your devices' serial number is gone. However, we can still look this up with Powershell.