Do  I specify the actual value of the parameter in between <Value></Value>? 
Where would I put the actual text of the parameter I am trying to pass?

Thanks,
Tommy T.

From: [email protected] [mailto:[email protected]] On 
Behalf Of David Allen
Sent: Wednesday, July 24, 2013 9:18 AM
To: [email protected]
Subject: [msmom] RE: Microsoft.Windows.PowerShellDiscoveryProbe help

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]> 
[mailto:[email protected]] On Behalf Of Tyrell, Tommy A.
Sent: 24 July 2013 14:12
To: [email protected]<mailto:[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<https://urldefense.proofpoint.com/v1/url?u=http://msdn.microsoft.com/en-us/library/jj129919.aspx&k=k4uTPtKceKyJbrKTKO%2FDpA%3D%3D%0A&r=OTFS%2Bs0VOrs%2FuH3x9DfH6R6q5MvGwpw7%2FBoNif5yjSI%3D%0A&m=baFl%2BjGADLqdjv3dLRwhv2ow6ORGFolGOYwzcLXTfVg%3D%0A&s=a046c8bed8c88f967ab70cbef4548b0fc79870aa88ef643ce8b0c704bc700afd>

Best Regards,
Tommy Tyrell
Southern Company Services
Infrastructure Operations Support
(T) 404-506-3801
(E) [email protected]<mailto:[email protected]>






Reply via email to