Re: netsh - get Pc name ???
From: Dusty Harper {MS} (DHarper_at_Online.Microsoft.com)
Date: 05/02/05
- Next message: Phillip Windell: "Re: Proxy Server Authentication Vs ISA Server"
- Previous message: Will: "Re: Proxy Server Authentication Vs ISA Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 2 May 2005 10:52:29 -0700
The DHCP server is client host name agnostic. It cares about a MAC Address
to IP Address mapping What you could do is use a Ping -a on each of the IP
leases, or use NSLookup to query the DNS servers to get the addresses.
-- -- Dusty Harper Microsoft Corporation ---------------------------------------------------------------------------- This posting is provided "AS IS", with NO warranties and confers NO rights ---------------------------------------------------------------------------- " Mathew" <matthieu_in_hk@hotmail.com> wrote in message news:uM5PDajRFHA.3972@TK2MSFTNGP14.phx.gbl... > Hello, > > I'm using the command : > netsh dhcp server scope 192.168.1.0 show clients > clientsdhcpv4.txt > to get the names of the machines associated to each IP adresse. But I only > get MAC adresses of the machines > ============================================================================ > ====== > > > ============================================================================ > ====== > > > > 177.78.16.101 - 255.255.255.0 - 00-10-75-00-7a-ed -2005/04/21 > 43:20 -D > > 177.78.16.103 - 255.255.255.0 - 00-00-39-5c-3b-17 -2005/04/21 > 05:56 -D > > 177.78.16.105 - 255.255.255.0 - 00-30-13-15-f2-86 -2005/04/21 > 05:55 -D > > 177.78.16.106 - 255.255.255.0 - 00-02-55-20-92-4b -2005/04/21 > 00:42 -D > > 177.78.16.108 - 255.255.255.0 - 00-10-b5-3c-f3-06 -2005/04/21 > 15:15 -D > > 177.78..16.109 - 255.255.255.0 - 00-0b-cd-52-2c-9a -2005/04/21 > 16:15 -D > > ============================================================================ > ====== > > > ============================================================================ > ====== > > Does someone know how could I get the pc name or user name or something > like > that ? > > Or how to get from the mac adress the pc name (what cmd should I use ?) > > Thanks > Matthieu > >
- Next message: Phillip Windell: "Re: Proxy Server Authentication Vs ISA Server"
- Previous message: Will: "Re: Proxy Server Authentication Vs ISA Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|