I'm using an automated process to discover and delete network devices in SCOM 2012 and for a variety of reasons, I wind up with a fair number of discovery failures.
I'd like to programmatically get a list of network devices in pending management along with the the reason (either unreachable via ICMP or SNMP), but haven't been able to figure out how to do that.
I've plowed through the SCOM 2012 SDK reference namespace by namespace, but haven't been able to find what I need. Any suggestions?