Skip to content

MAKLs/makl.weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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