I'm taking a stab at doing some basic querying of the REST API using PowerShell.
No matter what I do, I keep getting "Invoke-RestMethod : {"errorMessage":"The required anti-forgery cookie \"__RequestVerificationToken..."
I am creating the cookie, and when I dump the cookies, I see the SCOM cookie:
SCOMSessionId = <SessionID>
SCOM-CSRF-TOKEN = <Token>
Any ideas?
Thanks!