RE: Export DHCP reservations to a file every 4 hours

Discussion in 'Scripting' started by Masterplan, Oct 10, 2008.

  1. Masterplan

    Masterplan Guest

    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/library/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.
    >
     
    Masterplan, Oct 10, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gregg Hill

    DHCP reservations and exclusions questions

    Gregg Hill, Aug 13, 2005, in forum: Windows Server
    Replies:
    3
    Views:
    1,040
    Manny Borges
    Aug 15, 2005
  2. M_Hood

    DHCP - Manually re-enter reservations ?

    M_Hood, Aug 24, 2006, in forum: Windows Server
    Replies:
    1
    Views:
    193
    Miha Pihler [MVP]
    Aug 24, 2006
  3. Herb Martin

    Re: DHCP Reservations vs. Static IP Addressing

    Herb Martin, Apr 17, 2007, in forum: Windows Server
    Replies:
    11
    Views:
    282
    DevilsPGD
    Apr 18, 2007
  4. Sean

    SBS 2003 Std Backups taking 8 hours from 4 hours

    Sean, Aug 5, 2009, in forum: Windows Small Business Server
    Replies:
    11
    Views:
    338
  5. Meinolf Weber [MVP-DS]

    Re: Windows Server 2008 DHCP Reservations not visible from 2003 DHCP mmc

    Meinolf Weber [MVP-DS], Apr 2, 2009, in forum: Server Networking
    Replies:
    0
    Views:
    856
    Meinolf Weber [MVP-DS]
    Apr 2, 2009
Loading...

Share This Page