A Powershell script that will display weather conditions in the console.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Get-Weather.ps1
LICENSE
README.md
get-weather_ss.png

README.md

Get-Weather

A PowerShell function that will display weather conditions in the console. Alt text

This script has only been tested on PowerShell v5. Add this function to your profile for best results. The function is called by way of Get-Weather.

You will need to obtain an API Key from http://openweathermap.org/api This script will use XML to gather the weather data, except for the sunrise/sunset information which was easier to interpret via JSON.

For more information, use Get-Help Get-Weather