Hi All,
I would like to know if someone know how to set a DB in MM, currently im using below query to do it at server level,
But: i would like to do it at DB level IN SCOM by script
Get-SCOMClassInstance -name "SERVERNAME*" | Start-SCOMMaintenanceMode -EndTime ((Get-Date).AddDays(365)) -Comment "OTHER" -Reason "PlannedOther"
Thanks very much for your support.
I would like to know if someone know how to set a DB in MM, currently im using below query to do it at server level,
But: i would like to do it at DB level IN SCOM by script
Get-SCOMClassInstance -name "SERVERNAME*" | Start-SCOMMaintenanceMode -EndTime ((Get-Date).AddDays(365)) -Comment "OTHER" -Reason "PlannedOther"
Thanks very much for your support.
Carlos de los Reyes. Database Engineer.