0 commentsUncategorized

SCOM Powershell Export-SCOMEffectiveMonitoringConfiguration cmdlet Doesn’t Output Complete Data

  I was working on a support case recently when it was brought to my attention that this cmdlet does not output ALL contained instance configurations even when the “-RecurseContainedObjects” parameter is used. Yes, really!  It outputs configuration data for only one instance of each particular type, be it a logical disk or Ethernet adapter etc., you ….  Read More

0 commentsUncategorized

Operations Manager 2012 SP1 Upgrade to R2 Failed, “a database upgrade is already in progress from another machine”

  When I first attempted to upgrade my lab instance from Operations Manager 2012 SP1 Upgrade to R2 the process failed and initiated a rollback.  I found that my path to the Setup.exe was entirely too long due to folder nesting. The Setup.exe was located in:  C:\SCOM_INSTALL\System Center 2012 R2 Operations Manager (x86 and x64) – ….  Read More

0 commentsPowershellSCOM 2012

Set Primary and Failover Management Servers for Agent Managed Computers with Powershell

  Here’s an easy script to set the primary and secondary management servers for all agent managed computers in your management group. Just run this on any management server: $primaryMS = (Get-SCOMManagementServer | Sort-Object DisplayName )[0]   $failoverMS = (Get-SCOMManagementServer | Sort-Object DisplayName )[1]   Get-SCOMAgent | % { Set-SCOMParentManagementServer -Agent $_ -PrimaryServer $primaryMS; ` ….  Read More

0 commentsUncategorized

Microsoft.SystemCenter.WebApplication.UrlProbe Error Code Reference

  This is just a reference page for the various error codes that you might encounter when using the URLProbe in Operations Manager workflows.   Error code Status or Value 100 HTTP_STATUS_CONTINUE 101 HTTP_STATUS_SWITCH_PROTOCOLS 200 HTTP_STATUS_OK 201 HTTP_STATUS_CREATED 202 HTTP_STATUS_ACCEPTED 203 HTTP_STATUS_PARTIAL 204 HTTP_STATUS_NO_CONTENT 205 HTTP_STATUS_RESET_CONTENT 206 HTTP_STATUS_PARTIAL_CONTENT 207 HTTP_STATUS_WEBDAV_MULTI_STATUS 300 HTTP_STATUS_AMBIGUOUS 301 HTTP_STATUS_MOVED 302 ….  Read More

0 commentsUncategorized

Workflow Analyzer Unhandled Exception: “The system cannot find the file specified”

  Recently I borrowed a lab instance of Operations Manager 2012 R2 from a friend. I was attempting to troubleshoot a discovery in a management pack that I’ve been working on when I encountered some trouble with the Workflow Analyzer (wfanalyzer.exe). The WFA is a tracing tool originally released with the SCOM 2007 R2 Authoring Console and is vital ….  Read More