28 lines
857 B
PowerShell

# Set the time zone to Australia/Perth
Set-TimeZone -Id "W. Australia Standard Time"
# Set the system locale to English (Australia)
Set-WinSystemLocale -SystemLocale en-AU
# Set the user locale to English (Australia)
Set-WinUserLanguageList -LanguageList en-AU -Force
# Set the short date, long date, short time, and long time formats to Australian standards
Set-Culture -CultureInfo en-AU
# Set the region settings to Australia
Set-WinHomeLocation -GeoId 12
# Synchronize the system clock with an NTP server (optional)
w32tm /resync
Write-Host "Date, time, locale, and region settings have been set to Australia/Perth."
# Short Version.
Set-TimeZone -Id "W. Australia Standard Time"
Set-WinSystemLocale -SystemLocale en-AU
Set-WinUserLanguageList -LanguageList en-AU -Force
Set-Culture -CultureInfo en-AU
Set-WinHomeLocation -GeoId 12
w32tm /resync