Category: SCOM 2012

1 commentsPowershellSCOM 2012SCOM 2016SCOM 2019Certificatescross platformimportlinuxscxcertconfig.exeunixxplat

Easily Configure SCOM Cross-Platform Management Server Certificates

One of the more annoying tasks when configuring monitoring for nix/xplat agents is exporting management server certificates, then importing those certificates on all other members of the designated cross-platform resource pool. When you deploy a nix agent, the agent will automatically trust only the management server which performed the certificate signing procedure during the agent ….  Read More

1 commentsPowershellSCOM 2012SCOM 2016SCOM 2019Configuration ReportEffective ConfigurationpowershellSCOM Configurationscomhelper

SCOM Effective Monitoring Configuration Report

Export-SCOMEffectiveMonitoringConfigurationReport Available here: SCOMHelper PowerShell Module Report contains these columns: AlertPriorityAlertSeverityClassIdClassNameDescriptionEnabledEntityIdEntityNameGeneratesAlertIndexOverriddenOverridesParametersPathWorkflowDisplayNameWorkflowIdWorkflowMPNameWorkflowNameWorkflowType*Note: “Overrides” column does not include customizations settings for the standard overrideable parameters: AlertPriority, AlertSeverity, Enabled. However, the values shown in these columns are the actual effective values and are accurate. Example 1: Single Windows Computer – CSV Will create a complete/full report CSV file ….  Read More

0 commentsManagement PacksPowershellSCOM 2012SCOM 2016SCOM 2019discoveryGUIDnew-scomclassgraphpowershell

SCOM On Demand Discovery Example

This is something that I’ve struggled with in the past because it can be a bit tricky so here’s a quick explanation of how you can trigger On Demand discovery. The Trigger On Demand Discovery task includes the Target ID of the target class ( Microsoft.SystemCenter.HealthService ) but don’t let this fool you. The task ….  Read More

0 commentsSCOM 2012SCOM 2016AgentCertificate AuthorityCertificate TemplateCertificatesClient CertificateGatewayRoot CARoot CertificateWeb Enrollment

Request CA Certificate and Client Certificate from Web Enrollment CA for SCOM

Note: This post is similar in nature from my previous post here, however this post is somewhat more streamlined and hopefully should be easier to follow. It it assumed that you have the following in place: Standalone Root CA server (Win Server 2012 R2 or Win Server 2016)An appropriate template for SCOM exists on the ….  Read More

15 commentsAuthoringManagement PacksPowershellSCOM 2012SCOM 2016

SCOMHelper PowerShell Module – A SCOM Admin’s Best Friend

(installation instructions at bottom)Update: 2020.09.22: v1.28 – Added Get-SCOMRunningWorkflowsUpdate: 2020.08.19: Added Update-SCOMComputerGroupUpdate: 2020.08.12: Added New-SCOMComputerGroupUpdate: 2020.05.13: Added Export-SCOMOverrides, Deploy-SCOMAgent Get-SCOMRunningWorkflows – Will return an object that represents detailed task results for agent task: ‘Microsoft.SystemCenter.GetAllRunningWorkflows’Update-SCOMComputerGroup – Will overwrite an existing instance group or computer group containing Windows Computers [Microsoft.Windows.Computer] objects and optionally include related Health Service ….  Read More

0 commentsAuthoringManagement PacksPowershellSCOM 2012SCOM 2016DataItemNotepad++powershellProperty BagText EditorXML Format

How to Analyze a SCOM Property Bag

From time to time I find myself writing PowerShell scripts for custom workflows: rules, monitors, tasks, etc. Often times the project at hand requires a property bag full of juicy data to be used in the workflow. There are a handful of other blogs that describe what a property bag is but here I’ll show ….  Read More

0 commentsManagement PacksPowershellSCOM 2012SCOM 2016Authoring Management PackspowershellPowershell SCOM Administration Operations Manager Shellscom 2012SCOM 2016Visual StudioVSAE

Visual Studio ‘Failed to verify module reference’ Authoring SCOM Management Pack, VSAE

Today I’m writing about an elusive problem with a management pack that I was authoring recently. I was writing a generic datasource for a registry discovery; that is a discovery that will instantiate a class based on the existence of a registry key on the Target machine, and generic because I will use a single ….  Read More

0 commentsManagement PacksPowershellSCOM 2012SCOM 2016

Export SCOM Rule and Monitor Knowledge Articles with PowerShell

This has been baked into the SCOMHelper PowerShell module available here. Related: How to Get Knowledge Article from a SCOM Alert with Powershell This will output workflow information (including Knowledge Article content) to an HTML report or CSV file. Script accepts one or more (or all) management pack objects as input. Can export from SCOM using ….  Read More

0 commentsPowershellSCOM 2012SCOM 2016Powershell SCOM Administration Operations Manager Shell

SCOM Operations Manager Shell PowerShell Error When Launched as Administrator

Sometimes when the Operations Manager Shell is opened as an Administrator you will see the error in the screenshot below. I believe this has to do with how User Account Control (or UAC) is configured. The “Start in” parameter on the shortcut is ignored and the shortcut is unable to locate the startup scripts.   ….  Read More