Skip to content

Instantly share code, notes, and snippets.

@OSDTips
Last active November 23, 2015 22:21
Show Gist options
  • Save OSDTips/ea4bf049bc7238a27bda to your computer and use it in GitHub Desktop.
Save OSDTips/ea4bf049bc7238a27bda to your computer and use it in GitHub Desktop.
Set-TimeZone.ps1
$timeZone = 'Romance Standard Time'
$proc = New-Object System.Diagnostics.Process
$proc.StartInfo.WindowStyle = "Hidden"
$proc.StartInfo.FileName = "tzutil.exe"
$proc.StartInfo.Arguments = "/s `"$timeZone`""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment