cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mcsepit
Engaged Sweeper
What is the correct syntax to add this command to the custom actions area
I tried the following:

cmd.exe /K "Netstat -ano {computer}"

on execution a command prompts opens displaying the available switches. I have also tried netstat.exe with no switches same issue.
4 REPLIES 4
john_e_wagner
Engaged Sweeper II
I changed it to this. I needed the action path for this to run.

cmd.exe /k {actionpath}psexec.exe \\{computer} netstat -ano

mcsepit
Engaged Sweeper
I actually got it to work here is the syntax

cmd.exe /k psexec \\{computer} netstat -ano

Thanks!
mcsepit
Engaged Sweeper
Ok thank you!

I think I will try and run with the psexec command
Hemoco
Lansweeper Alumni
As far as I know netstat only works local on the computer.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now