PowerShell module for getting the current weather report
- Install makl.weather from the PowerShell Gallery:
Install-Module makl.weather
- Visit OpenWeatherMap and create an account to obtain an API key.
- Set makl.weather's API key with:
Set-WeatherAPIKey -APIKey <OpenWeatherMap_APIKey>
Get-Weather #weather report for current location
Get-Weather -Coordinates 40.440,-70.976 #weather report for latitude,longitude
Get-Weather -City Pittsburgh -Country US #weather report for city