PowerShell: Get System Time Zone

Need to check the configured time zone of a machine - for scheduling scripts correctly, troubleshooting timestamp discrepancies, or confirming a server's regional settings? This one-liner pulls it straight from the system.

Prerequisites:

  • Privileges: None
  • Module: Built-in, no import needed

Quick Command:

Get-TimeZone

Example Output:

Id                         : Central Europe Standard Time
DisplayName                : (UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
StandardName               : Central Europe Standard Time
DaylightName                : Central Europe Daylight Time
BaseUtcOffset               : 01:00:00
SupportsDaylightSavingTime  : True
📦
Want all of them at once?
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.

How It Works:

  • Get-TimeZone is a dedicated, purpose-built cmdlet that reads the machine's currently configured time zone - no CIM/WMI namespace digging required for this one.
  • Id and StandardName identify the time zone in Windows' internal naming scheme, while DisplayName gives a human-readable description including the UTC offset and representative cities.
  • BaseUtcOffset shows the standard (non-daylight-saving) offset from UTC.
  • SupportsDaylightSavingTime shows whether the zone observes daylight saving time changes at all.