Lansweeper logo
Home Download Features Demo Buy now Help Support forum
 
    Most requested support articles:
  Lansweeper troubleshooting guide.
  The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
  WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
  How to configure the windows firewall using group policies.
  Support:  
 support@lansweeper.com  
Skype: Lansweeper  
  Mo-Fri 9h-17h CET  
Welcome Guest Search | Active Topics | Log In | Register

Untag as favorite
Netstat -ano
mcsepit
#1 Posted : Thursday, January 21, 2010 6:28:04 PM
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.
Lansweeper
#2 Posted : Thursday, January 21, 2010 7:04:17 PM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,378
As far as I know netstat only works local on the computer.
mcsepit
#3 Posted : Thursday, January 21, 2010 8:08:13 PM
Rank: Freeware user

Groups: Member
Posts: 3
Location: Tampa
Ok thank you!

I think I will try and run with the psexec command
mcsepit
#4 Posted : Thursday, January 21, 2010 8:35:18 PM
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!
john_e_wagner
#5 Posted : Friday, April 16, 2010 8:13:19 PM

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

Users browsing this topic
Guest
Untag as favorite
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.

Contact: E-mail Lansweeper - Skype : Lansweeper
Copyright 2004 - 2011 © Hemoco bvba