Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.44 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.44 KB

WinTZ

Minimum Supported PowerShell Version License: MIT Windows-Build

WinTZ is a PowerShell module that sets the Windows Time Zone based on public IP address.

Installation

Install WinTZ from the PowerShell Gallery by running the command below:

Install-Module -Name WinTZ -Repository PSGallery -Scope CurrentUser

Usage

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.

Screenshots

Demo

Contributing

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.