Displaying DHCP scope activity using Netsh

  • Section(s): Admin, Network
  • Published on Aug 19, 2009.
  • Last Modified on Mar 16, 2009.
  • Last Modified by Mitch Tulloch.
  • Rated 3 out of 5 based on 2 votes.
You can use the Netsh command to display statistics for a single scope on your DHCP server.

You can use the Netsh command to display statistics for a single scope on your DHCP server. For instance, you can display a list of clients that are currently leasing addresses from a scope.

Here's how you do this together with some sample command output:

    C:\Users\administrator>netsh dhcp server scope 172.16.11.0 show clients    
    Changed the current scope context to 172.16.11.0 scope.    
    Type : N - NONE, D - DHCP B - BOOTP, U - UNSPECIFIED, R - RESERVATION IP    
    ==================================================================================    
    IP Address      - Subnet Mask    - Unique ID           - Lease Expires        -Type    
    ==================================================================================    
    172.16.11.133   - 255.255.255.0  -00-03-ff-54-88-8c   - NEVER EXPIRES        -U    
    172.16.11.220   - 255.255.255.0  - 00-03-ff-43-88-8c   -6/9/2008 11:41:18 AM   -D    
    No of Clients(version 4): 2 in the Scope : 172.16.11.0.    
    Command completed successfully.    

Note that typing show clients 1 instead of show clients will cause the FQDN of each client to be included in the listing.

This sample command output can also be found in my book Windows Server 2008 Server Core Administrators Pocket Consultant from Microsoft Press.

About Mitch Tulloch

Mitch Tulloch is a widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions. Mitch has published over two hundred articles on different IT websites and magazines, and he has written or contributed to almost two dozen books and is lead author for the Windows 7 Resource Kit from Microsoft Press. For more information, see www.mtit.com .


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Anti Spam Hardware solution?

Follow TechGenix on Twitter