PowerShell Script: Extract Operations Manager Severity & Priority Information

  MPViewer v1.7 returns no rule severity/priority data for the System Center Configuration Manager Management Pack version 6.0.6000.3 (27/9/2011). This script can be used to extract that information. 1: #requires -version 2 2: <# 3: author: Johan Vosloo 4: date: 3/11/2011 5: info: Must be executed from within the Operations Manager shell 6: severity/alertlevel: http://msdn.microsoft.com/en-us/library/ms813440.aspx…


PowerShell Script: Retrieve Specific Event ID’s From Event Log On Multiple Computers

  This script was put together very quickly to accomplish the objective stated in the title. 1: #requires -version 2.0 2: <# 3: author: Johan Vosloo 4: date: 24/11/2011 5: purpose: Retrieve event id’s from multiple machines and add to a CSV file. 6: #> 7: Try 8: { 9: $servers=get-content c:\scripts\servers.txt 10: $date=(Get-Date).AddDays(-7) 11:…


Creating a Performance Baseline for SQL Server with System Center Operations Manager 2007 R2

Time for a Friday night post. Microsoft PFE raise the absence of system performance baselines pretty much in every Risk Assessment Program (RAP) or Health Check. Customers do not generally create performance baselines. So, what are the typical uses for a performance baseline? Troubleshooting performance-related issues and facilitating capacity management comes to mind. “Hey, doesn’t…


PowerShell Script: Bulk move Mailboxes using a CSV Input File (HMC 4.0)

This script can be used to move mailboxes, specified within a CSV input file, between mailbox servers. It will also update the MPS Resource Manager database. # Author: Johan Vosloo # Date: 12/10/2009 # Purpose: Bulk move mailboxes from a CSV input file. # Disclaimer: This script is provided as-is without any support. The script…


Best lessons learnt while moving part of my LAB from Virtual Server 2005 R2 to Windows Server 2008 R2 Hyper-V

Issue: Laptop Wireless NIC is not available by default to VM’s in Hyper-V Solution: In Hyper-V Virtual Network Manager, create a new ‘Internal Only’ NIC e.g. Virtual Wireless Network In Windows Server 2008 R2 Network Connections, create a bridge between the Wireless Network Connection and the Virtual Wireless Network. Add a NIC and connect it…


Installing Forefront Threat Management Gateway (New ISA) in my System Center Operations Manager Lab

  (Simple high-level step-by-step for the admin that does not require screenshots. The process below is probably useful for building a lab, production deployments would require little more planning.) Basic Info TMG is basically an Outbound Proxy. UAG is basically an Inbound Proxy. TMG consists of 3 roles: TMG Server (x64) Enterprise Management Server (x64)…


Audit Alert Scenarios: System Center Operations Manager (OpsMgr) 2007 R2

The other day I was asked to assist with implementing the scenarios below: Scenario 1: Alert for changes to the ‘Domain Admin’ group membership Scenario 2: Alert when the Audit Policy is changed (Default Domain or Domain Controller) Scenario 3: Alert when xx number of unsuccessful logons occur within nn hours Scenario 4: Account locked…


Audit Report Scenarios: How to create custom reports with System Center Operations Manager 2007 R2 and Audit Collection Services (ACS)

Scenarios that are discussed in this blog post include: Scenario 1: Computers joined to the domain (names and description) Scenario 2: User passwords expired Scenario 3: User accounts locked out Scenario 4: Group policy changes Scenario 1: Computers joined to the domain (names and description) The following Event Id’s will be used in this procedure:…


Quick Tip: How to run an ACS Forwarder, Collector, RMS and DC on the same host

Manually enable the ‘Operations Manager Audit Forwarding Service’ (AdtAgent.exe). Regedit > [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AdtAgent\Parameters] > New > Multi-String Value > AdtServers > ‘CollectorFQDN’ Note: Step 2 resolved Event ID 4369 (with a blank list of collectors) for me. Hopefully this configuration of roles will only ever be used in a lab environment!


Script: Bulk approve WSUS updates from CSV input file

Hope this script will help someone out there!  # Script # Author: Johan Vosloo# Date: 16-10-2009# Purpose: Bulk approve updates by specifying the UpdateID, WSUS Group Name and a Computer Name (any computer that is a member of the applicable group).# Disclaimer: This script is provided as-is without any support. Script was tested on WSUS 3.0…