0

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

Posted by Tao Yang on 27/01/2012 in SCOM |

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

Tags: ,

Leave a Reply

Copyright © 2010-2014 Tao Yang's System Management Blog All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.2.4.1, from BuyNowShop.com.