Solved

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

Posted on 2008-10-15
3
1,191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

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…
The question has been asked on multiple occasions as to how best to do printing in a remote desktop or terminal services environment.   It seems that this particular question has plagued several people and most especially as Terminal Services, as…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 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