PowerShell
All pages referring or tutorials for PowerShell.
Set correct language and timezone on Azure VM
Thursday, October 10, 2024 in PowerShell
Categories:
4 minute read
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 …
Get Windows Product Key with PowerShell
Sunday, July 28, 2024 in PowerShell
Categories:
less than a minute
We simply can do this with one command in PowerShell: POWERSHELL (Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform").BackupProductKeyDefault Please note that I am not encouraging software …
Using PowerShell remote sessions
Wednesday, April 10, 2024 in PowerShell
Categories:
5 minute read
Requirements Management computer/Priveleged Access Workstation 15-20 minutes of your time Management server and endpoints are Active Directory joined Starting out Before we can use Powershell to administer remote computers, we need to enable two …
How to enable Remote Group Policy update
Wednesday, January 10, 2024 in PowerShell
Categories:
3 minute read
Group Policy update to multiple computers Sometimes you want to force a group policy update on multiple computers. Often when I am configuring Azure Virtual Desktop Session Hosts I need this option instead of logging into all hosts and executing the …
Bulk create Active Directory users with Powershell
Monday, March 20, 2023 in PowerShell
Categories:
2 minute read
When it comes to creating users for Active Directory, especially in new implementations, you want to minimize the time needed to create the accounts. This is possible by creating the AD users with Powershell. Requirements Minimal knowledge of …