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