Solved

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

Posted on 2008-10-15
3
1,177 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 350 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Every system administrator encounters once in while in a problem where the solution seems to be a needle in haystack.  My needle was an anti-virus version causing problems with my Exchange server. I have an HP DL350 with Windows Server 2008 Stand…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now