Get last rule value from Powershell

Tricky question.

I want to get the latest value of a rule from a PowerShell script running outside SCOM.

For example, I want to get the latest FreeSpace entry of a specific disk… from a script running on Orchestrator. I figured out the RuleID and the disk’s class instance ID (that’s easy), but wondering if that’s even possible?

Guess I can find the info in the database but, next question would be where?


Hey Pascal. Maybe this will help?

Right on!!! Thanks. I would not have found that one!