NIC Speed+Duplex and Disk Capacity Commands

J

JT

Hi, I have been hunting for a command I can run from a
command line to query Windows for the link speed and
duplex of the network cards installed in W2K AS, W2K3 AS.
I can use netsh to remotely gather the TCP/IP info but can
not find anything to query the NIC speed and duplex. I
have trawled the registry but there is no single
installation marker/point? Also looking for a dos command
to list remote disk capacities. Freedisk gives me the free
space but I also want to find the partition info. Any help
would b great. Thanks in advance. JT
 
M

Matthias Tacke

JT said:
Hi, I have been hunting for a command I can run from a
command line to query Windows for the link speed and
duplex of the network cards installed in W2K AS, W2K3 AS.
I can use netsh to remotely gather the TCP/IP info but can
not find anything to query the NIC speed and duplex. I
have trawled the registry but there is no single
installation marker/point?

IMO you will need wsh and wmi to reveal the information. The nic info is
a problem since it is driver-dependent.
Also looking for a dos command
to list remote disk capacities. Freedisk gives me the free
space but I also want to find the partition info. Any help
would b great. Thanks in advance. JT

Some information on partitions can be obtained with the help of
psinfo -d (downloadable from www.sysinternals.com)

But this falls short of partitions without own drive letter (mounted via
a junction)

HTH
 
T

Torgeir Bakken \(MVP\)

JT said:
Hi, I have been hunting for a command I can run from a
command line to query Windows for the link speed and
duplex of the network cards installed in W2K AS, W2K3 AS.
I can use netsh to remotely gather the TCP/IP info but can
not find anything to query the NIC speed and duplex. I
have trawled the registry but there is no single
installation marker/point?
Hi

It doesn't exist a standard script interface for this because
it is driver-dependent as Matthias wrote:

http://groups.google.com/[email protected]

http://groups.google.com/groups?selm=uVwbB#JyCHA.1644@TK2MSFTNGP12

http://groups.google.com/[email protected]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top