SCOM Command Channel not executing PowerShell Script

Leon Taljaard 61 Reputation points
2021-10-01T10:33:08.187+00:00

Hi Guys,

I am having an issue with a command channel that I have set up. I duplicated the settings from a working environment on a new SCOM 2019 deployment but its not working on the new SCOM.

The script works perfectly when run manually but it does not want to trigger from SCOM itself when an alert is triggered.

Below is the command channel

136906-capture1.png

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,443 questions
{count} votes

1 answer

Sort by: Most helpful
  1. System Center guy 686 Reputation points
    2021-10-04T05:31:10.957+00:00

    for the PowerShell script,

    added the PS cmdlet 'New-SCOMManagementGroupConnection <management server>' to the script immediately after the OperationsManager module was imported.

    You may refer to
    https://social.technet.microsoft.com/Forums/en-US/5c0c51ec-1b0d-4684-ae45-7c6bcd035b82/scom-command-channel-using-powershell?forum=operationsmanagergeneral

    Best Regard
    roger