I've been authoring a few simple MPs to get my feet wet. I've run into one 
piece I'm not sure how to resolve. I have a PowerShell script that monitors an 
error directory for any files that exist. The script outputs two values via 
property bags: Directory and FileCount. I ran the MP Simulator and I see it 
returns the two properties in the probe, but when I tried to use them to 
include in the alert description, it fails to replace them and then SCMO throws 
the Alert Parameter Replacement Failure.

I tried using the following syntax:
$Data/Property[Name='Directory']$
$Data/Property[Name='FileCount']$

MP Simulator results:
[cid:[email protected]]

SCOM Console Message:
[cid:[email protected]]

I am not sure if I'm failing to define these as Alert Parameters somewhere, but 
within VSAE, I'm not sure how to add them as Alert Parameters. Any help is 
appreciated.

-Geoff
Confidentiality Notice: This is a transmission from Community Hospital of the 
Monterey Peninsula. This message and any attached documents may be confidential 
and contain information protected by state and federal medical privacy 
statutes. They are intended only for the use of the addressee. If you are not 
the intended recipient, any disclosure, copying, or distribution of this 
information is strictly prohibited. If you received this transmission in error, 
please accept our apologies and notify the sender. Thank you.



Reply via email to