That article presumes you will pass in all the parameters in the Parameters
config item.
The easier way to do it would be specify each parameter in the XML block
itself, like this:
<Parameters>
<Parameter>
<Name>Param1</Name>
<Value>$Config/Value1$</Value>
</Parameter>
<Parameter>
<Name>Param2</Name>
<Value>$Config/Value2$</Value>
</Parameter>
</Parameters>
Hope that helps.
David
From: [email protected] [mailto:[email protected]] On
Behalf Of Tyrell, Tommy A.
Sent: 24 July 2013 14:12
To: [email protected]
Subject: [msmom] Microsoft.Windows.PowerShellDiscoveryProbe help
I am attempting to use a PowerShell script in a discovery. I am using the
module type Microsoft.Windows.PowerShellDiscoveryProbe. I am trying to pass a
parameter to the PowerShell script but I can't seem to get the syntax right.
Does anyone know the correct syntax to pass a parameter to a PowerShell script
discovery? I've been referencing the MSDN article on
Microsoft.Windows.PowerShellDiscoveryProbe but I still can't figure out the
correct syntax.
http://msdn.microsoft.com/en-us/library/jj129919.aspx
Best Regards,
Tommy Tyrell
Southern Company Services
Infrastructure Operations Support
(T) 404-506-3801
(E) [email protected]<mailto:[email protected]>