The content of this FAQ has been updated and migrated to the following topics in docs.itrsgroup.com. Refer to the following:
We recommend that you always use the latest document version in https://docs.itrsgroup.com/ to keep you up-to-date.
Command XML:
<command name="PowerShellTest">
<targets>
<target>/geneos/gateway[(@name="NY_Hardware")]/directory/probe[(@name="nysupsvr08")]/managedEntity[(@name="NYSUPSVR008")]
</target>
</targets>
<userCommand>
<type>script</type>
<runLocation>netprobe</runLocation>
<args> <arg>
<static>powershell.exe -executionpolicy bypass -file "ps_example.ps1" <NUL</static>
</arg> </args>
<enablePassword>true</enablePassword>
</userCommand>
</command>
-
Tags:
Comments
0 comments
Please sign in to leave a comment.