WinTZ is a PowerShell module that sets the Windows Time Zone based on public IP address.
Install WinTZ from the PowerShell Gallery by running the command below:
Install-Module -Name WinTZ -Repository PSGallery -Scope CurrentUser
Set the Windows time zone based on public IP address, without prompting for confirmation
Set-WindowsTimeZone -Force
Returns the IANA Time Zone based on public IP address.
Get-IANATimeZone
Takes an IANA time zone and converts it to a Windows time zone.
ConvertTo-WindowsTimeZone
WinTZ leverages platyPS to automatically generate Markdown documentation. See docs for more information on individual functions.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.