Skip to content

Instantly share code, notes, and snippets.

@srpomeroy
Created November 29, 2016 18:58
Show Gist options
  • Save srpomeroy/3def2a03180375940c0ffd492b1755ac to your computer and use it in GitHub Desktop.
Save srpomeroy/3def2a03180375940c0ffd492b1755ac to your computer and use it in GitHub Desktop.
PowerShell example of retrieving RightScale API Status
((Invoke-WebRequest -Uri "http://status.rightscale.com" -Headers @{"accept"="application/json"} | ConvertFrom-Json).components | Where-Object {$_.name -eq "Cloud Management API 1.5"}).status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment