This page is intended to serve as a reference for the System Center 2012 – Operations Manager Command Shell (OpsMgr), including technical information, sample scripts and best practices.
Sample Scripts
The following are a few of the OpsMgr Command Shell samples on System Center Central and the elsewhere on the Internet:
- OpsMgr 2012: Updated Collection of One-Liners
- OpsMgr 2012:See Who is Currently Connected to Your Management Group via PowerShell
- Cloning Notification Subscriptions in Operations Manager 2012 using PowerShell [sample script]
- OpsMgr 2012: Reset Unit Monitors in Bulk with PowerShell
- OpsMgr 2012: Find Computers without the Active Directory Helper Object (OOMADS) with PowerShell
- OpsMgr 2012: Disabling Rules and Monitors in Bulk in PowerShell
- OpsMgr 2012: Group Maintenance Mode via PowerShell (the way it should be)
- OpsMgr 2012: Running a Task in Bulk Using PowerShell
- OpsMgr 2012: Automating Agent Discovery and Deployment with PowerShell [sample script]
- OpsMgr 2012: Identifying Computers in Active Directory without an OpsMgr Agent Installed [sample script]
- OpsMgr 2012 Quick Tip: Finding servers experiencing the most heartbeat failures with PowerShell
