OpsMgr 2012 (SCOM 2012) Manegement Pack, Windows Desktop Client and Installer Projects to set maintenance mode from within a monitored system.