Category Archives: SCOM 2012

Microsoft Azure mp configuration for Azure Government cloud

The Microsoft Azure Management pack for SCOM 2012 R2 requires a little different configuration than the commercial cloud. I am going to write down some of the configurations that have to be done. Mp download location: https://www.microsoft.com/en-us/download/details.aspx?id=50013 This steps are … Continue reading

Posted in SCOM 2012, System Center Operations Manager | Leave a comment

SCOM DataWare House grooming.

Query to check the size of the tables. SELECT DB_NAME() AS DbName, name AS FileName, size/128.0 AS CurrentSizeMB, size/128.0 – CAST(FILEPROPERTY(name, ‘SpaceUsed’) AS INT)/128.0 AS FreeSpaceMB FROM sys.database_files; /*Get size of the database.*/ SELECT DB_NAME(database_id) AS DatabaseName, Name AS Logical_Name, … Continue reading

Posted in SCOM 2012, System Center Operations Manager | Tagged , , , , , , | Leave a comment

Using SCOM get-scomalert criteria

The scom alerts for a particular computer can be retrieved by the following commands. Get-SCOMAlert -ResolutionState 0 | ?{$_.PrincipalName -match ‘SQL’ -OR $_.PrincipalName -match ‘WEB’} Get-SCOMAlert -Criteria {ResolutionState = 0 and PrincipalName like ‘%SQL%’  or PrincipalName like ‘%WEB%’}} There is significant … Continue reading

Posted in SCOM 2012 | Tagged , , , , | Leave a comment

Put Scom Agents and Cluster Servers in Maintenance mode and reboot

Here is a script to put your scom agents including clusters in maintenance mode and rebooting them at a specified time. First you will have to create a task and a management pack in SCOM for rebooting the servers. Link on … Continue reading

Posted in SCOM 2012, System Center Operations Manager | Tagged , , , , , , , , | Leave a comment

Visual Studio installation failing

Visual Studio 2015 installation failing. Applies to 2013,2015. OS Windows 8.1 Installation kept failing with the following error in event log. Faulting application name: vs_professional.exe, version: 14.0.23107.10, time stamp: 0x55414f16 Faulting module name: ntdll.dll, version: 6.3.9600.18233, time stamp: 0x56bb4e1d Exception code: … Continue reading

Posted in SCOM 2012 | Leave a comment

Audit collection Services

How to determine the Server being used for Audit Collection Forwarding and Collecting. Open the operations manager console and navigate to Monitoring–Microsoft Audit Collection Services — Collector or Forwarder. The state view should give you the names of the specific servers. … Continue reading

Posted in SCOM 2012 | Leave a comment

Export all rules and monitors with thresholds

Exporting all rules and monitors with thresholds in your SCOM environment. I found these on the following link http://technet.microsoft.com/en-us/library/ff723847.aspx

Posted in SCOM 2012, System Center Operations Manager | Leave a comment

Connecting to SCOM 2012 using powershell

Use the below snippet to connect to your OpsMgr powershell using Windows Powershell ISE. There after you can use the cmdlets present in SCOM 2012 freely ## Common script for connecting to SCOM 2012 Management Server $reg = Get-Item “HKLM:\SOFTWARE\Microsoft\Microsoft … Continue reading

Posted in SCOM 2012 | Leave a comment

In organizations where you have multiple management groups. And have production environments which need SCOM to be working all the time. Its advisable to have two action accounts in the SCOM environment. When one account’s password is near expiry you … Continue reading

Posted in SCOM 2012 | Leave a comment