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

how to set cisco devices maintenance mode using Powershell

$
0
0

we have cisco hardware being monitored.

always we use UI to schedule the Maintenance mode, do we any power shell script which can pick the instances and set MM.

we tried to pick instance from groups and as well as class

in both ways it returned

Start-SCOMMaintenanceMode : Cannot bind parameter 'Instance'. Cannot convert the

";CISCO Domain" value of type "System.String" to type

"Microsoft.EnterpriseManagement.Monitoring.MonitoringObject".

At D:\Scripts\testrack.ps1:12 char:37

+ start-SCOMMaintenanceMode -Instance $p -EndTime $EndTime -Comment "te ...

+                                     ~~


swapna


Viewing all articles
Browse latest Browse all 11941

Trending Articles