SCOM: Powershell Property Bag Trigger Only Probe VS Windows Script Property Bag Probe

Written by Tao Yang

When writing a Probe Action Module to run a trigger only PowerShell script and return property bags, Microsoft.Windows.PowerShellPropertyBagTriggerOnlyProbe module can be used. However, there is no trigger only probe module if you want to run VBScript.

Below are 2 examples how to create trigger only probe modules for both PowerShell and VBScript:

1. PowerShell

Member Modules:

Microsoft.Windows.PowerShellPropertyBagTriggerOnlyProbe

image

Data Types:

Input: Trigger Only

Output: System.PropertyBag Data

image

2. VBScript:

Member Modules:

System.PassThroughProbe

Microsoft.Windows.ScriptPropertyBagProbe

image

Data Type:

Input: Trigger Only

Output: System.PropertyBag Data

image

Leave a Reply