Quantcast
Channel: Operations Manager - General forum
Viewing all articles
Browse latest Browse all 11941

Using Powershell (or console) to find all objects in maintenance mode?

$
0
0

Hi,

I have stumbled across the fact that aside from a handful of servers that have been put into pretty much unlimited MM rather than fix them a previous admin has put loads of individual objects such as disk drives, network cards etc. in long MM.

I am trying work out an easy way of seeing the server associated with the actual disk, card etc.. I am using -

Get-SCOMMonitoringObject | where-object {$_.InMaintenanceMode -eq $true}

This does list everything such as -

Success                True        C:                                         
Uninitialized          True        Local Area Connection                      
Uninitialized          True        Memory

but I am not sure how I then link that to an actual server so I can take it out of MM?

I am guessing I could use PowerShell to take all monitors out of MM for instance but dont really want to do that

thanks!


Viewing all articles
Browse latest Browse all 11941

Trending Articles