Getting Most Recent Earthquakes

by Dec 31, 2013

Everything is connected these days. PowerShell can retrieve public data from web services. So here's a one-liner that gets you a list of the most recently detected earthquakes and their magnitude:

Invoke-RestMethod -URI "http://www.seismi.org/api/eqs" | 
  Select-Object -First 30 -ExpandProperty Earthquakes |
  Out-GridView 

Twitter This Tip! ReTweet this Tip!