Jonathan Almquist on Operations Manager

AD Integration LDAP Queries

Here are some useful scripts to check and update AD Integration settings using the Command...

Author: Jonathan Almquist Date: 11/18/2009

Set failover management server for Gateway role

This will set a failover Management Server for a Gateway role, leaving the currently configured...

Author: Jonathan Almquist Date: 11/11/2009

Error 25351 – Failed to stop services

So, here’s a quick post on this error.  I did a quick web search for this, just to see if...

Author: Jonathan Almquist Date: 10/10/2009

Windows Server 200x Operating System Class

While creating some content late last year and playing around with the getClassPath script, I put...

Author: Jonathan Almquist Date: 09/23/2009

Enable Agent Proxy for a Class (ClassProxyEnabler)

Agent Proxy needs to be enabled for several different management packs features to work...

Author: Jonathan Almquist Date: 09/22/2009

Return SMTP Channel Email Addresses

Get-NotificationRecipient | foreach-object {$.devices | where {$.protocol -eq "smtp"}} |...

Author: Jonathan Almquist Date: 09/11/2009

CScript spikes CPU – even with version 5.7

I ran across an issue recently where several CScript processes would peg the CPU for several seconds...

Author: Jonathan Almquist Date: 08/27/2009

Multiple Management Groups, Single Data Warehouse (part 2)

In this series, I’m going to talk about multiple Management Groups sharing a single Data...

Author: Jonathan Almquist Date: 07/04/2009

In which Management Pack is this Group Stored?

Ever wonder which Management Pack you stored a particular group in?  Here’s the answer. ForEach...

Author: Jonathan Almquist Date: 06/30/2009

Multiple Management Groups, Single Data Warehouse (part 1)

In this series, I’m going to talk about multiple Management Groups sharing a single Data...

Author: Jonathan Almquist Date: 06/21/2009

DBCreateWizard Fails – CLR20r3

Came across an issue today that was really just a matter of me not reading the fine print.  I...

Author: Jonathan Almquist Date: 06/14/2009

Console sluggish or frozen during agent approval process

I was working with a large customer last week, and found some very interesting performance metrics...

Author: Jonathan Almquist Date: 05/11/2009

Agent Failover Status

Here is a script that will output agent failover status. Simply copy the script below into the...

Author: Jonathan Almquist Date: 04/26/2009

All disk sizes (GB)

/*Get each logical disk size, for each agent computer, by OS version. This helps in calculating the...

Author: Jonathan Almquist Date: 04/25/2009

Get Alert History by Alert Name

get-alert | where {$_.name -match "Alert Name"} | get-AlertHistory | select Time* command...

Author: Jonathan Almquist Date: 04/25/2009

Get Failover MS List for Agent Computer

This will return the list of Failover Management Servers for specified agent. get-agent | where...

Author: Jonathan Almquist Date: 04/25/2009

Top 10 Events

This will return the top ten events collected. FYI – Given the sheer number of events collected and...

Author: Jonathan Almquist Date: 04/25/2009

Switch to another MG in Command Shell session

If you have multiple Management Groups, this can be handy to switch between them while in the same...

Author: Jonathan Almquist Date: 04/25/2009

Operations Manager 2007 SQL Queries

Sharing this list of random SQL queries I have found useful on different occasions. Refer to report...

Author: Jonathan Almquist Date: 04/25/2009

All groups and their contained instances

SELECT     SourceMonitoringObjectDisplayName AS 'Group',...

Author: Jonathan Almquist Date: 04/25/2009

All groups

SELECT     ManagedEntityGenericView.DisplayName,...

Author: Jonathan Almquist Date: 04/25/2009

What does this task target?

This will return which [typed] class the specified task will run against. foreach ($targetId in...

Author: Jonathan Almquist Date: 04/09/2009

Return discoveries running on specific interval

Got a new one today.  HTH. Foreach ($discovery in (get-discovery | foreach-object...

Author: Jonathan Almquist Date: 04/08/2009

Exclude Drive from Logical Disk Free Space Monitoring: Part 1

Since I just wrote an article on how to use the Logical Disk Free Space monitor, I figured this...

Author: Jonathan Almquist Date: 04/08/2009

How to measure Operations Manager database performance

In order to make any kind of performance tuning recommendations, it is first necessary to capture a...

Author: Jonathan Almquist Date: 04/06/2009

Logical Disk Free Space Monitor

Throughout my years working with MOM and Operations Manager 2007, periodically I hear complaints...

Author: Jonathan Almquist Date: 04/04/2009

Command Shell: Be careful with Date-Time criteria and calculations

Nathan left a comment on one of my posts the other day. See thread:  Is alert grooming working?...

Author: Jonathan Almquist Date: 04/02/2009

Delete a Management Pack

Be careful while deleting Management Packs.  I suggest to first query the Management Pack and...

Author: Jonathan Almquist Date: 03/30/2009

Export a Management Pack

Use this cmdlet to export a Management Pack to a specified path. Unlike the Operations Console,...

Author: Jonathan Almquist Date: 03/30/2009

Import a Management Pack

Basic cmdlet, but wanted to add to the reference table.  The goal is to someday have the entire...

Author: Jonathan Almquist Date: 03/30/2009

Set Management Group Global Settings

Use this commandlet to set Management Group global settings.  You can use its companion,...

Author: Jonathan Almquist Date: 03/27/2009

Return Management Group global settings

This is a basic commandlet that returns Management Group global settings.  You can use it’s...

Author: Jonathan Almquist Date: 03/27/2009

Get BaseManagedEntityId for Agent

Get BaseManagedEntityId for Agent get-agent | where {$_.ComputerName -eq "netbios_name"} |...

Author: Jonathan Almquist Date: 03/19/2009

Enable Agent Proxying, by Health Service Id

Enable Agent Proxying, by Health Service Id $a=get-agent | where {$_.hostedHealthService.id -eq...

Author: Jonathan Almquist Date: 03/19/2009

Resolve agent from Health Service Id

Find Agent, by Health Service Id get-agent | where {$_.hostedHealthService.id -eq "guid"}...

Author: Jonathan Almquist Date: 03/19/2009

List connected users

List connected users to SDK (console and command shell users) Get-ManagementGroupConnection |...

Author: Jonathan Almquist Date: 03/19/2009

All overrides, with settings

All overrides, with settings Get-ManagementPack | where {$_.sealed -eq $false} | get-override |...

Author: Jonathan Almquist Date: 03/19/2009

Overrides modified in date range

Overrides modified in date range Get-ManagementPack | where {$_.sealed -eq $false} | get-override |...

Author: Jonathan Almquist Date: 03/19/2009

Overrides that have been modified

Overrides that have been modified Get-ManagementPack | where {$_.sealed -eq $false} | get-override |...

Author: Jonathan Almquist Date: 03/19/2009

Overrides created in date range

Overrides created in date range Get-ManagementPack | where {$_.sealed -eq $false} | get-override |...

Author: Jonathan Almquist Date: 03/19/2009

All rules overridden from specific MP

All rules overriden from specific MP foreach ($rule in Get-ManagementPack | where {$_.DisplayName...

Author: Jonathan Almquist Date: 03/19/2009

All monitors overridden from specific MP

All monitors overriden from specific MP foreach ($monitor in Get-ManagementPack | where...

Author: Jonathan Almquist Date: 03/19/2009

Get BASE class properties (if any)

Get BASE class properties (if any) foreach ($base in Get-MonitoringClass | where {$_.name -eq...

Author: Jonathan Almquist Date: 03/19/2009

Get BASE class

Get BASE class foreach ($base in Get-MonitoringClass | where {$_.name -eq "class_name"})...

Author: Jonathan Almquist Date: 03/19/2009

Get HOST class properties (if any)

Get HOST class properties (if any) get-monitoringclass | where {$_.name -eq "class_name"}...

Author: Jonathan Almquist Date: 03/19/2009

Get HOST class

Get HOST class get-monitoringclass | where {$_.name -eq "class_name"} | foreach-object...

Author: Jonathan Almquist Date: 03/19/2009

Get class properties

Get class properties get-monitoringclass | where {$_.name -eq "class_name"} |...

Author: Jonathan Almquist Date: 03/19/2009

Resolve all alerts in specific Resolution State

Resolve all alerts in specific Resolution State get-alert | where {$_.resolutionState -eq...

Author: Jonathan Almquist Date: 03/19/2009

Resolve all open alerts generated by specific Agent

Resolve all open alerts generated by specific Agent get-alert | where {$_.netbiosComputerName -eq...

Author: Jonathan Almquist Date: 03/19/2009

<Previous Next>