in reply to run netstat on remote NT machine.

What method are you using to access the remote machine? You'll need something like telnet or ssh or rsh to execute remote commands.. look into Net::Telnet or Net::SSH and possibly Expect.

Replies are listed 'Best First'.
Re^2: run netstat on remote NT machine.
by junky123 (Acolyte) on Feb 17, 2005 at 01:16 UTC
    Thanks Moot, I am connecting to the registry using Win32::TieRegistry. Is there any other way to run the netstat command on the remote machine ?
      Well, that's how you're talking to the registry.. how are you actually connecting to the remote system? Presumably you have some sort of login account on the remote server?