Skip to content

Instantly share code, notes, and snippets.

@JamesDawson
Created July 9, 2013 10:49
Show Gist options
  • Select an option

  • Save JamesDawson/5956481 to your computer and use it in GitHub Desktop.

Select an option

Save JamesDawson/5956481 to your computer and use it in GitHub Desktop.
Script SetTimezone
{
GetScript = { return @{ Timezone = ("{0}" -f (tzutil.exe /g)) } }
TestScript = { return (tzutil.exe /g) -ieq "GMT Standard Time" }
SetScript = { tzutil.exe /s "GMT Standard Time" }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment