OpsMgr 2007: How to identify what scripts are running on the agents, including frequency and parameters

Here’s another interesting one for you.  What I wanted was a way to track what scripts are executed by the Operations Manager Agent on a box as this would help in fine tuning some of the rules/monitors which were configured to run very frequently.  In MOM 2005 we had a ScriptDebugging option which logged all…

3

OpsMgr 2007: How to get the list of all the computers in Maintenance Mode

Here’s a cool tip from Ritesh Grover, one of our top support engineers on our Operations Manager team.  If you’re looking for a script to quickly get a list of the computers that are in Maintenance Mode then this should do the trick: ======== To get a list of all computers and components that are…

2

Have you seen the new OpsManJam site?

Some of our folks out in the field got together and put up a fantastic OpsManager website out at http://www.opsmanjam.com and if you haven’t seen it already you should definitely check it out.  They’re posting unofficial management packs, management pack authoring tutorials and guidance, command shell scripts, and more.  The content on this site comes…

2

Windows PowerShell Basics: Part 3

Overview In lesson 1 and lesson 2 we looked at the Where-Object cmdlet.  The example we looked at was: Get-Service | Where-object {$_.status -like "running"} Notice that the cmdlet takes a comparison operation as a parameter.  This operation, called a script block, is contained in curly braces.  Other cmdlets can take script blocks as parameters,…

2

Windows PowerShell Basics: Part 2

Overview: In the previous lesson, we looked at use of the Where-Object cmdlet.  The example we looked at was: Get-Service | Where-object {$_.status -like "running"} We observed that this cmdlet made use of variables, comparison operators and object properties.  In this lesson we’ll look at each of these topics in more detail. Variables Variables in…

2

Windows PowerShell Basics

Overview Everyone should be aware by now that Windows PowerShell is the latest scripting environment for managing and maintaining Windows servers, workstations and applications. This cube note provides a brief introduction to PowerShell resources and a few commands to get started with. Where to get Windows PowerShell If you have Windows Server 2008, you can…

3