Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Scripting > RE: Export DHCP reservations to a file every 4 hours

Thread Tools Display Modes

RE: Export DHCP reservations to a file every 4 hours

Posts: n/a


You can run a batch script with this command:
netsh dhcp server DHCP_SERVER_IP scope SCOPE_IP dump > c:\test.txt
For additional information about netsh, see here:

Have a nice day!

"rushtosri" wrote:

> Folks,
> I'm new to scripting. I'm trying to write a script that can export
> dhcp IP reservations from multiple scopes to a text file every 4
> hours. I would appreciate if someone can help me with the logic or the
> script (if you have it already).
> Thanks in advance.
> Cheers!!
> Sridhar.

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SBS 2003 Std Backups taking 8 hours from 4 hours Sean Windows Small Business Server 11 08-05-2009 08:13 PM
Re: Windows Server 2008 DHCP Reservations not visible from 2003 DHCP mmc Meinolf Weber [MVP-DS] Server Networking 0 04-02-2009 12:55 PM
DHCP - Manually re-enter reservations ? M_Hood Windows Server 1 08-24-2006 03:51 PM
DHCP reservations and exclusions questions Gregg Hill Windows Server 3 08-15-2005 02:37 PM