System Center Essentials, Operations Manager & Powershell – short tip

Facebooktwittergoogle_plusredditpinterestlinkedinmail

While working with SCE, OpsMgr and Powershell I’ve noticed that SCE & OpsMgr doesn’t output the same data as expected, for example, I’ve tried to count the number of Critical Errors that has resolution state zero…

Well.. on first look, everything looks fine when there are alerts which equal this term, but what did happen when I had no objects back (no alerts) ?

hmm… OpsMgr returned zero… so… I could play with that number, but the SCE returned empty result while I’ve tried to Measure-Object… that messed up my code…

So.. be aware for the differences between the systems…

One thought on “System Center Essentials, Operations Manager & Powershell – short tip

Leave a Reply

Your email address will not be published. Required fields are marked *