How to export all dhcp records in text/csv file

Discussion in 'DNS Server' started by Kishor Yadav, Dec 6, 2005.

  1. Kishor Yadav

    Kishor Yadav Guest

    Hi,

    In my DHCP, there are many subnets defined. If I want to get records in text
    file then I have to go to each subnet and select export to file.

    Is there a way, i.e. script, command to export all the records from all
    scope/subnets in dhcp server to a text/csv file?.

    I want to compare DNS and DHCP records hence the requirement.

    Please help me,

    Thank you,
    K L Yadav
     
    Kishor Yadav, Dec 6, 2005
    #1
    1. Advertisements

  2. If you want to export the addresses leased, expand and select the address
    leases in the scope, right click select Export list.

    --
    Best regards,
    Kevin D. Goodknecht Sr. [MVP]
    Hope This Helps
    ===================================
    When responding to posts, please "Reply to Group"
    via your newsreader so that others may learn and
    benefit from your issue, to respond directly to
    me remove the nospam. from my email address.
    ===================================
    http://www.lonestaramerica.com/
    http://support.wftx.us/
    https://secure.lsaol.com/
    ===================================
    Use Outlook Express?... Get OE_Quotefix:
    It will strip signature out and more
    http://home.in.tum.de/~jain/software/oe-quotefix/
    ===================================
    Keep a back up of your OE settings and folders
    with OEBackup:
    http://www.oehelp.com/OEBackup/Default.aspx
    ===================================
     
    Kevin D. Goodknecht Sr. [MVP], Dec 6, 2005
    #2
    1. Advertisements

  3. Kishor Yadav

    Kishor Yadav Guest

    Hi,
    Thanks for your reply.
    Is there anyway to make a script and get all records in text/csv format?.
    can you give some hints. I have seen netsh command but it exports whole
    configurations.
    Thank you,
    K L Yadav.
     
    Kishor Yadav, Dec 6, 2005
    #3
  4. Kishor Yadav

    Kishor Yadav Guest

    and there are 36 scopes defined in my dhcp. if i have to get all records
    then, i have to do this 36 time, 36 csv files and then merge all 36 csv file
    manually.
    is there a way to get rid of it and get the list using one command only.
     
    Kishor Yadav, Dec 6, 2005
    #4
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.