Skip to content
English
  • There are no suggestions because the search field is empty.

Gather information for a support ticket

Run this PowerShell script and send the output to OpsLogix support.

Applies to: OpsLogix VMware Management Pack (all versions) · SCOM 2019, 2022, 2025
Last updated: October 2026 · Reading time: 2 minutes

Goal

Collect information about your VMware Management Pack environment for the OpsLogix support team. The script lists the installed management pack versions, the number of monitored objects (in total and per connection), the resource pool configuration, configured templates (older versions only) and your overrides.

Prerequisites

  • Access to a SCOM management server with the Operations Manager PowerShell module.
  • An account with permissions to read the SCOM management group.

Steps

  1. Copy the script below.
  2. Run it in PowerShell on one of your SCOM management servers.
  3. Save the output to a file.
  4. Send the file to your OpsLogix support engineer.

On each server in the VMware resource pool, also run the commands below as administrator and add their output. They show the collector version and service state, the VMware MP registry settings and the OpsLogix events of the last 24 hours.

Get-ItemProperty 'HKLM:\SOFTWARE\Opslogix\OpsLogix VMware Collector' | Select-Object Path, Version
Get-Service OpsLogix.VMware.Collector.Service | Select-Object Name, Status, StartType
Get-ChildItem 'HKLM:\SOFTWARE\OpsLogix\VMware' -Recurse -ErrorAction SilentlyContinue | ForEach-Object { Get-ItemProperty $_.PSPath }
Get-ItemProperty 'HKLM:\SOFTWARE\OpsLogix\VMware' -ErrorAction SilentlyContinue
Get-WinEvent -FilterHashtable @{ LogName = 'Operations Manager'; ProviderName = 'OpsLogix IMP VMware', 'OpsLogix VMware Collector'; StartTime = (Get-Date).AddDays(-1) } -ErrorAction SilentlyContinue | Format-List TimeCreated, ProviderName, Id, LevelDisplayName, Message

About sensitive data: the output contains the names of your vCenter servers, hosts and virtual machines, but no passwords. If debug logging is set to trace level, the events can also contain the encrypted vCenter password and the license key. Send the output only to OpsLogix support, through your support ticket.

## ---------------------------------------------------------------
## support script for getting information in the environment
## ---------------------------------------------------------------

# MP to get
$MPName="OpsLogix.IMP.VMWARE"

Import-Module operationsmanager
New-SCOMManagementGroupConnection

## get the MP versions
Write-Output "------ get Mp versions -------"
Get-SCOMManagementPack | where {$_.Name -like "*$MPName*"} | ft Name , version

## get instance count
Write-Output "------ get instance count -------"
Write-Output "------ instance count as total -------"
Get-SCOMClass -Name "$MPName.*" | Get-SCOMMonitoringObject | group -Property LeastDerivedNonAbstractMonitoringClassId | Select @{Name = ‘Name’; expression ={ Get-SCOMClass -id $_.Name}},Count | ft Name , Count –AutoSize
Write-Output "------ instance count per connection -------"
Get-SCOMClass -Name "$MPName.*" | Get-SCOMMonitoringObject | Select-Object -Property *,@{Name = 'Connection'; Expression = {$_.Path.split(';')[0]}} | group -Property Connection | foreach { Write-Output "Connection Name: $($_.Name)" ; $_.Group | group -Property LeastDerivedNonAbstractMonitoringClassId | Select @{Name = ‘Name’; expression ={ Get-SCOMClass -id $_.Name}},Count | ft Name , Count –AutoSize }

# get resource pool info
Write-Output "------ get resource pool info -------"
$x = Get-SCOMClass -Name "OpsLogix.IMP.VMWare.vCenter" | Get-SCOMMonitoringObject
Get-SCOMRelationshipInstance -TargetInstance $x | ft Id, SourceObject , TargetObject

## get configured templates
Write-Output "------ get configured templates (older versions only) -------"
(Get-SCOMManagementGroup).Presentation.GetFolders() | where { $_.Name -like "*TemplateoutputOpsLogixIMP*" } | ft DisplayName

# get overrides
Write-Output "------ get Monitor overrides -------"
Get-SCOMOverride -Class (Get-SCOMClass -Name "$MPName.*" ) -Monitor (Get-SCOMMonitor -Name "$MPName.*") | ft Parameter , Value , Name -AutoSize
Write-Output "------ get Rule overrides -------"
Get-SCOMOverride -Class (Get-SCOMClass -Name "$MPName.*" ) -Rule (Get-SCOMRule -Name "$MPName.*") | ft Parameter , Value , Name -AutoSize
Write-Output "------ get Discovery overrides -------"
Get-SCOMOverride -Class (Get-SCOMClass -Name "$MPName.*" ) -Discovery (Get-SCOMDiscovery -Name "$MPName.*") | ft Parameter , Value , Name -AutoSize

Verify it worked

The output contains a section for each part of the script, starting with get Mp versions. If a section is empty, mention that to the support engineer.

See also