Rank: Freeware user
Groups: Member
Posts: 3 Location: Tampa
|
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.
|
|
|
|
|
|
 Rank: Administration Groups: Administration, Premium Users Posts: 10,378
|
As far as I know netstat only works local on the computer.
|
|
|
|
|
|
Rank: Freeware user
Groups: Member
Posts: 3 Location: Tampa
|
Ok thank you!
I think I will try and run with the psexec command
|
|
|
|
|
|
Rank: Freeware user
Groups: Member
Posts: 3 Location: Tampa
|
I actually got it to work here is the syntax
cmd.exe /k psexec \\{computer} netstat -ano
Thanks!
|
|
|
|
|
|
 Rank: Premium user Groups: Premium Users
Posts: 23 Location: Ohio
|
I changed it to this. I needed the action path for this to run.
cmd.exe /k {actionpath}psexec.exe \\{computer} netstat -ano
|
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.