Results 1 to 3 of 3

Thread: How to export DHCP data to notepad

  1. #1
    Join Date
    May 2008
    Posts
    923

    How to export DHCP data to notepad

    I want to export DHCP data to notepad. Is it possible for me to do that? How?

  2. #2
    Join Date
    May 2008
    Posts
    1,347

    Export DHCP data to notepad

    To export the contents of DHCP database to a text file, you can use the Dhcpcmd.exe utility that is included with Microsoft Windows NT Server 4.0.

    To use this utility, you should use an account with administrative privileges on the DHCP server. Now type the below command at the command prompt:

    Code:
    dhcpcmd <IPAddress> enumclients <ScopeNetAddress> -<option> > <Path\textfile.txt>
    where

    IPAddress is the IP address of the DHCP server.

    ScopeNetAddress is the network address of the DHCP scope.

    option (-v or -h)
    -v: Lists detailed lease information
    -h: Lists lease information with hardware information

    textfile.txt is the name of the destination file.

  3. #3
    Join Date
    Nov 2008
    Posts
    5

    Re: How to export DHCP data to notepad

    1) C:\>netsh dhcp server export c:\dhcp.txt all
    2) C:\>netsh dhcp server import c:\dhcp.txt all

Similar Threads

  1. Import & Export Data
    By AnkitSingh007 in forum Off Topic Chat
    Replies: 2
    Last Post: 09-12-2011, 04:18 PM
  2. How to export data to XML from the visual C++
    By Aldwin in forum Software Development
    Replies: 5
    Last Post: 26-06-2011, 07:39 PM
  3. How to export data from acess to excel
    By Gunter in forum Windows Software
    Replies: 3
    Last Post: 13-05-2009, 12:45 PM
  4. How to Hide Data in Notepad
    By Flaco in forum Tips & Tweaks
    Replies: 1
    Last Post: 25-10-2008, 12:29 PM
  5. Export Project Data to Excel
    By Asgar in forum Microsoft Project
    Replies: 3
    Last Post: 20-06-2007, 07:56 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,925,802.87613 seconds with 17 queries