Skip to content

Instantly share code, notes, and snippets.

@tjmoore
Created September 16, 2025 14:27
Show Gist options
  • Select an option

  • Save tjmoore/85e45147108a5f4928cb64025aa561e1 to your computer and use it in GitHub Desktop.

Select an option

Save tjmoore/85e45147108a5f4928cb64025aa561e1 to your computer and use it in GitHub Desktop.
Setting time zone on Windows Server Azure VMs
# In Azure Windows Server VMs you can't change time zone via system Date and Time
# Alternative solution using admin powershell...
# Get available time zones by name
Get-TimeZone -ListAvailable
# Filter on ID
Get-TimeZone -ListAvailable | Where-Object ({$_.ID -like "*Europe*"})
# Set the timezone from an ID
Set-TimeZone -Id "W. Europe Standard Time"
# Also check region settings, language etc. These are editable via system Time & Language.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment