Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 634 Bytes

README.md

File metadata and controls

20 lines (18 loc) · 634 Bytes

makl.weather

PowerShell module for getting the current weather report

Installation

  1. Install makl.weather from the PowerShell Gallery:
    Install-Module makl.weather
  2. Visit OpenWeatherMap and create an account to obtain an API key.
  3. Set makl.weather's API key with:
     Set-WeatherAPIKey -APIKey <OpenWeatherMap_APIKey>

Usage

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