Networking Forums

Networking Forums > Computer Networking > Windows Networking > Export DHCP Scopes to .csv

Reply
Thread Tools Display Modes

Export DHCP Scopes to .csv

 
 
musicman
Guest
Posts: n/a

 
      04-10-2007, 09:39 PM
Hi All,
I'm looking for a quick and dirty way to export All Server 2K3 DHCP
Scopes by IP address to a .csv file so that I can script an option
change agianst it. If netsh is the method will someone please hint at
the syntax as I am unable to figure it out.
Thanks in advance.

 
Reply With Quote
 
 
 
 
CJS
Guest
Posts: n/a

 
      04-11-2007, 07:20 PM
Would be much easier if MS made DHCP WMI aware!

If you run:
net dhcp server dump>c:\dhcpdump.txt
from a command line it should dump the config out. Then you can use:
netsh exec dhcpdump.txt

"musicman" wrote:

> Hi All,
> I'm looking for a quick and dirty way to export All Server 2K3 DHCP
> Scopes by IP address to a .csv file so that I can script an option
> change agianst it. If netsh is the method will someone please hint at
> the syntax as I am unable to figure it out.
> Thanks in advance.
>
>

 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      04-11-2007, 09:48 PM
I think DHCP has its database stored in an MDB file. Just copy that to the new
DHCP Machine to do a migration or keep in a safe place as a "backup".
That's off the top of my head, so I hope I'm not confusing it with something
else.

--
Phillip Windell
www.wandtv.com

The views expressed, are my own and not those of my employer, or Microsoft, or
anyone else associated with me, including my cats.
-----------------------------------------------------

"CJS" <(E-Mail Removed)> wrote in message
news:97A924FC-37A5-4DDC-A244-(E-Mail Removed)...
> Would be much easier if MS made DHCP WMI aware!
>
> If you run:
> net dhcp server dump>c:\dhcpdump.txt
> from a command line it should dump the config out. Then you can use:
> netsh exec dhcpdump.txt
>
> "musicman" wrote:
>
>> Hi All,
>> I'm looking for a quick and dirty way to export All Server 2K3 DHCP
>> Scopes by IP address to a .csv file so that I can script an option
>> change agianst it. If netsh is the method will someone please hint at
>> the syntax as I am unable to figure it out.
>> Thanks in advance.
>>
>>



 
Reply With Quote
 
musicman
Guest
Posts: n/a

 
      04-12-2007, 03:10 PM
On Apr 11, 3:48 pm, "Phillip Windell" <philwind...@hotmail.com> wrote:
> I think DHCP has its database stored in an MDB file. Just copy that to the new
> DHCP Machine to do a migration or keep in a safe place as a "backup".
> That's off the top of my head, so I hope I'm not confusing it with something
> else.
>
> --
> Phillip Windellwww.wandtv.com
>
> The views expressed, are my own and not those of my employer, or Microsoft, or
> anyone else associated with me, including my cats.
> -----------------------------------------------------
>
> "CJS" <C...@discussions.microsoft.com> wrote in message
>
> news:97A924FC-37A5-4DDC-A244-(E-Mail Removed)...
>
>
>
> > Would be much easier if MS made DHCP WMI aware!

>
> > If you run:
> > net dhcp server dump>c:\dhcpdump.txt
> > from a command line it should dump the config out. Then you can use:
> > netsh exec dhcpdump.txt

>
> > "musicman" wrote:

>
> >> Hi All,
> >> I'm looking for a quick and dirty way to export All Server 2K3 DHCP
> >> Scopes by IP address to a .csv file so that I can script an option
> >> change agianst it. If netsh is the method will someone please hint at
> >> the syntax as I am unable to figure it out.
> >> Thanks in advance.- Hide quoted text -

>
> - Show quoted text -


Thanks very much for your responses. the dup syntax is exactly what I
need.

 
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 export issues BJ Daniels Windows Networking 1 03-12-2008 09:22 PM
DHCP Export /Import Misaro Windows Networking 1 01-08-2006 02:22 PM
Migrate from DHCP Superscope to VLAN Based DHCP Scopes =?Utf-8?B?QWRyaWFuIE1hcnRpbmV6?= Windows Networking 0 03-17-2005 03:55 AM
DHCP Scopes with Cisco dhcp-relay Matthew Reath Linux Networking 1 08-18-2004 09:02 AM
DHCP Scopes with Cisco dhcp-relay Matthew Reath Linux Networking 0 08-18-2004 02:12 AM



1 2 3 4 5 6 7 8 9 10 11