?
Solved

Export DHCP scope and names to a text file on Windows server 2000

Posted on 2008-10-15
3
Medium Priority
?
1,258 Views
Last Modified: 2013-12-05
In Windows Server 2000 DHCP, is there a way to export the scope and name to a text file? For example, I open up the DHCP msc. I see on the left pane all the scopes. Can I export that to a text file?
0
Comment
Question by:typertec
  • 2
3 Comments
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22725640
netsh dhcp server export c:\dhcp all
0
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22725665
1.Refer this link from MS,
http://support.microsoft.com/kb/130642

2.try this command also,
netsh dhcp server dump all > dump.txt

3.create a batch file like this,
netsh dhcp server \\dhcpservername1 export c:\DHCP_Backup_Server1 all
netsh dhcp server \\dhcpservername2 export c:\DHCP_Backup_Server2 all
netsh dhcp server \\dhcpservername3 export c:\DHCP_Backup_Server3 all

0
 
LVL 26

Accepted Solution

by:
Pber earned 1400 total points
ID: 22731668
If you just want to see a list of names, you can do it from the DHCP MMC.
Just load the DHCP MMC and connect to your DHCP server.  Highlight your server on the left, so all the scopes show up on the right.  
Now right click server and select Export List...
You can select the kind of output by selecting the Save as type:
Anything more detailed than that, you'll want to use sk_raja_raja's solutions above.

0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Boot PC and press F10, select storage options and change the compatibility from “AHCI” to “IDE”, save and exit 2. Boot PC and press F12 3. Upon PXE display of searching for DHCP server, press Pause break to obtain MAC address 3. Open Configu…
This is my 3rd article on SCCM in recent weeks, the 1st (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html) dealing with installat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question