Launch CLI

Launch_CLI (ConsoleTask)

Element properties:

TargetNortelVPFM.System
Application\%SystemRoot\%\system32\cmd.exe
WorkingDirectory\%HOMEDRIVE\%\%HOMEPATH\%
isRequireOutputFalse
AccessibilityPublic
EnabledTrue

Source Code:

<ConsoleTask ID="Launch_CLI" Accessibility="Public" Enabled="true" Target="NortelVPFM.System" RequireOutput="false" Category="MonitoringObject">
<Application>%SystemRoot%\system32\cmd.exe</Application>
<Parameters>
<Parameter>/k</Parameter>
<Parameter>%SystemRoot%\system32\telnet.exe</Parameter>
<Parameter>$Target/Property[Type="NortelVPFM.System"]/NetworkAddresses$</Parameter>
</Parameters>
<WorkingDirectory>%HOMEDRIVE%%HOMEPATH%</WorkingDirectory>
</ConsoleTask>