
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2010 07:28 PM
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.
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.
Labels:
- Labels:
-
Custom Actions
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2010 10:13 PM
I changed it to this. I needed the action path for this to run.
cmd.exe /k {actionpath}psexec.exe \\{computer} netstat -ano
cmd.exe /k {actionpath}psexec.exe \\{computer} netstat -ano

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2010 09:35 PM
I actually got it to work here is the syntax
cmd.exe /k psexec \\{computer} netstat -ano
Thanks!
cmd.exe /k psexec \\{computer} netstat -ano
Thanks!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2010 09:08 PM
Ok thank you!
I think I will try and run with the psexec command
I think I will try and run with the psexec command

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2010 08:04 PM
As far as I know netstat only works local on the computer.
