Quantcast
Channel: Operations Manager - Application Performance Monitoring (APM) forum
Viewing all articles
Browse latest Browse all 559

SCOM - Set Database In Maintenance Mode

$
0
0
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.

Carlos de los Reyes. Database Engineer.


Viewing all articles
Browse latest Browse all 559

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>