If you want to put group of computers in maintenance mode in SCOM 2012 you may found a lot of script over Internet on how to do that but it seems Pete’s way is the easiest and efficient one. Read how he did it here.
OpsMgr 2012: Group Maintenance Mode via PowerShell (the way it should be) by Pete Zerger
Published by Stanislav Zhelyazkov
Stanislav Zhelyazkov has been working in IT since 2007. Stanislav has started his IT career as a Help Desk Specialist in 2007 while studying Informatics in the University of Ruse. He also worked in HP Enterprise Services (now known as DXC), maintaining large corporate IT infrastructures for clients in Holland, Switzerland and Germany and was involved in a Private Cloud project based on MS Hyper-V and System Center. He was also in the role of Principal Consultant in Lumagate developing and consulting companies on Azure, OMS, management and Private clouds. Currently he is Cloud Infrastructure Engineer at Sentia Denmark. Stanislav is active community member at MSDN forums providing answers on Azure. His blogposts can be found at www.cloudadministrator.net or www.systemcentercentral.com. View all posts by Stanislav Zhelyazkov