Command Shell Examples
Useful SQL Queries
March, 2008 - Jonathan Almquist on Operations Manager - Site Home - TechNet Blogs

March, 2008

  • AdtServer Event ID 4618 - Logon Failed

    So, you installed Audit Collection Services (ACS) and the collector isn't able to connect to the OperationsManagerAC database. You get a bunch of errors in your Operations Manager and Application event logs on your ACS Collector: Event Type: Error...
  • SDK SPN Not Registered

    Attention: Please also read my other post about Operations Manager 2007 SPN’s to gain a full understanding of all that is required. I started seeing these alerts after upgrading my Management Group to SP1.  This warning alert (Operations Manager...
  • Import User Roles (powershell)

    PowerShell script to import User Roles.  Copy and save code to file with .ps1 extension.  Execute PS script from within SCOM Command Shell or PowerShell.  User input prompts will not work if copying and pasting code directly into shell...
  • Export User Roles to file (powershell)

    PowerShell script to write all User Roles to a text file.  Copy and save code to file with .ps1 extension.  Execute the *.ps1 script from within SCOM Command Shell or PowerShell.  User input prompts will not work if copying and pasting...
  • System Center Operations Manager 2007 - KB Articles

    941307 - A health monitor may display state changes in an incorrect order in System Center Operations Manager 2007 941943 - The HealthServiceStore.edb file size grows to several gigabytes over time in an agent that is running System Center Operations...
  • MOM 2005 - Resolve all alerts generated by specific rule

    Copy this script into a .vbs file.  Edit line 15 (objAlert.Name = " ALERT NAME HERE ") to match the name of the alerts you want to resolve.  Run this from a MOM 2005 Management Server. Set objWMI = GetObject("winmgmts://./root...
  • Audit Collection Services (ACS) grooming not working

    If you suspect that grooming of your ACS database is not taking place, run the following query to check whether the status indicates it is in a groom-able state. Use OperationsManagerAC SELECT * FROM dtPartition ORDER BY PartitionCloseTime Data will be...
  • Change Agent Action Account Password (MOM 2005)

    You can follow these steps to change/update the credentials used for a single agent or group of agents in a MOM 2005 Management Group. 1.  Change the password for the account used as the Agent Action account in Active Directory. 2.  To find...
  • Install Reporting in SP1 Management Group

    There are some roadblocks if you choose to install Reporting after your Management Group has already been running the SP1 upgrade.  Without going into great detail, it seems the conflict is directly related to Management Pack versions already imported...