Start SCOM Maintenance Mode with PowerShell
Turns on Maintenance Mode for a specific computer monitored by SCOM (System Center Operations Manager). Ensure that the OperationsManager module is available on the computer from which this script is executed.