OpsMgr 2012 PowerShell: Management and Gateway Servers

Quick Reference In the previous post I talked about how to get connected to management groups.  In this post I’m going to talk about working with management servers and gateway servers.  I will also introduce you to a script that I wrote, which gives a hierarchical view of state, much like the health explorer in…

1

OpsMgr 2012 PowerShell: Getting Connected

Quick Reference In the previous post, I introduced the OpsMgr 2012 PowerShell module and discussed a few of the ways that I used to get oriented to it.  Now that we’re oriented, the first thing I want to explore is how connections work. Both the previous and the current PowerShell implementations for OpsMgr support remotely…

3

OpsMgr 2012 PowerShell: Getting Oriented

Quick Reference As some of you may already know the PowerShell support in OpsMgr 2012 changed significantly from OpsMgr 2007 R2. For starters, the cmdlets are no longer an optional part of the UI install.  It used to be you could select whether or not to install the PowerShell interface, when you installed the operations console,…

0

OpsMgr 2012 PowerShell: Quick Reference

OpsMgr 2012 PowerShell: Quick Reference I will use this post to summarize all commands, one-liners and short scripts that I identify overtime for PowerShell against OpsMgr 2012 Getting Oriented Import-module OperationsManager Adds the module into your session so that you can run the OpsMgr cmdlets.  Not required in PowerShell v3 Get-Help OpsMgr Shows the about…

0

Finding an instrumentation needle in a haystack of MPs

I don’t know about everyone else, but our team gets asked questions like the following very often: Are we collecting any events from source <insert source name here>? Do any of the management packs we have deployed alert on event ID <####>? Are we collecting performance data for counter <insert counter name here>? Back in…

0

Using the Operations Manager Command Shell against multiple management groups

In our environment we have 5 production management groups (3 for “core” monitoring, 1 for application monitoring and one for connecting to our network monitoring system).  Many times I want to be able to quickly run some cmdlet across all of these management groups to do things like the following: Find a notification subscription in each and disable it…

1