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 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.
## ---------------------------------------------------------------
## support script for getting information in the environment
## ---------------------------------------------------------------
## Michel Kamp
## ---------------------------------------------------------------

# 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 -------"
(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