Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alfonso-presa/windowstimezoneupdater
Automatically change your time zone in windows 8
https://github.com/alfonso-presa/windowstimezoneupdater
Last synced: 9 days ago
JSON representation
Automatically change your time zone in windows 8
- Host: GitHub
- URL: https://github.com/alfonso-presa/windowstimezoneupdater
- Owner: alfonso-presa
- License: mit
- Created: 2015-01-21T00:54:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-22T00:38:15.000Z (almost 10 years ago)
- Last Synced: 2024-11-13T18:12:17.520Z (about 2 months ago)
- Language: Visual Basic
- Size: 164 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WindowsTimeZoneUpdater
Automatically change your time zone in windows 8## How to use
Prior to running the script you will need to run the following command in a PowerShell command line as administrator:
```
set-executionpolicy remotesigned
```Run createTask.bat script. This will create an scheduled task that will run every time your computer gets connected to a Wifi network.
If you don't want this to be automatic, you can also both run the detectTimeZone.ps1 file, or run the vbs wrapper. This last will prevent a powershell window to appear.
## How does it work
This script uses:
* ipify.org to get the current ip address.
* geoplugin.net to get the latitude and longitude for the ip.
* askgeo.com to get the TimeZone information for windows for the latitude and longitude. They've kindly provided a free API key to be used in this script.