Windows Vista Tips

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

Reply
Thread Tools Display Modes

RE: Export DHCP reservations to a file every 4 hours

 
 
Masterplan
Guest
Posts: n/a

 
      10-10-2008
Hi,

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:
http://technet.microsoft.com/en-us/l.../cc778925.aspx

--
Have a nice day!

http://winmasterplan.blogspot.com


"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
 
 
 
Reply

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
DHCP server config export to text file Mel K. Server Networking 0 10-07-2009 04:19 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
How to export all dhcp records in text/csv file Kishor Yadav DNS Server 3 12-06-2005 01:12 PM
DHCP reservations Mero Scripting 3 02-24-2005 09:23 AM
DHCP Reservations Dunphy, Patrick Server Networking 2 11-03-2004 06:24 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59