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
复制代码 http://powershell.com/cs/blogs/tips/archive/2013/12/31/getting-most-recent-earthquakes.aspx |