<command name="Run PuTTY Client">
    <targets>
        <target>/geneos/gateway[(@name=&quot;MNL_MAYA_GATEWAY_9370&quot;)]/directory/probe</target>
    </targets>
    <userCommand>
        <type>script</type>
        <runLocation>client</runLocation>
        <args>
            <arg>
                <static>&quot;C:\Program Files\PuTTY\putty.exe&quot;</static>
            </arg>
            <arg>
                <xpath>ancestor-or-self::probe/parameters/@HostName</xpath>
            </arg>
        </args>
    </userCommand>
</command>