Created
March 22, 2016 14:43
-
-
Save 1RedOne/dfe8a4e3e27f4711194e to your computer and use it in GitHub Desktop.
PowerShell objects are tricky
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Body = @" | |
[{ | |
"action": "EventsRouter", | |
"method": "query", | |
"data": [{ | |
"uid": "/zport/dmd/", | |
"params": { | |
"eventState": [0, 1], | |
"severity": [5, 4, 3, 2], | |
"excludeNonActionables": false | |
}, | |
"keys": ["eventState", "severity", "device", "component", "eventClass", "summary", "firstTime", "lastTime", "count", "evid", "eventClassKey", "message"], | |
"page": 1, | |
"start": 0, | |
"limit": 200, | |
"sort": "severity", | |
"dir": "DESC" | |
}], | |
"type": "rpc", | |
"tid": 385 | |
}] | |
"@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment