PowerShell

All pages referring or tutorials for PowerShell.

Posts in 2024
  • Set correct language and timezone on Azure VM

    Thursday, October 10, 2024 in PowerShell

    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 …

    Read more

  • Get Windows Product Key with PowerShell

    Sunday, July 28, 2024 in PowerShell

    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 …

    Read more

  • Using PowerShell remote sessions

    Wednesday, April 10, 2024 in PowerShell

    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 …

    Read more

  • How to enable Remote Group Policy update

    Wednesday, January 10, 2024 in PowerShell

    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 …

    Read more

Posts in 2023