SCOM Rest API Example
There are a handful of SCOM REST API script examples floating around the interwebs. The problem is that quite a few of them are incorrect; the CSRFToken and WebSession parameters aren’t demonstrated correctly. Here’s a decent example to help you on your way. Notice the CSRFToken is retrieved from the $WebSession and added to the …. Read More