Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Windows Server Networking

netsh dhcp / dhcpcmd - Which to use ???

Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2006, 01:39 PM
Default netsh dhcp / dhcpcmd - Which to use ???



Has dhcpcmd been superceeded by netsh dhcp, or are these command line
tools used for different tasks?

I want to script the creation of scopes & the creation of reservations
(with their associated hardware addresses) on a Windows 2003 Server
SP1.

Is there a differnet tool (M/soft or free) / better way of doing this
work??



chortler@fetchmail.co.uk
Reply With Quote
  #2  
Old 05-15-2006, 02:52 PM
Laura E. Hunter [MVP]
Guest
 
Posts: n/a
Default Re: netsh dhcp / dhcpcmd - Which to use ???

dhcpcmd has been around longer than netsh (I think since the NT 4.0 Resource
Kit, even), but either one will do what you're trying to do. If I had to
state a preference, it would be for netsh since dhcpcmd requires you to
install the Support Tools to use it, while netsh is a native tool.

HTH


--
--
Laura E. Hunter: MVP Windows Server - Networking
All replies to newsgroup, please
Post provided as-is, no warranties expressed or implied

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> Has dhcpcmd been superceeded by netsh dhcp, or are these command line
> tools used for different tasks?
>
> I want to script the creation of scopes & the creation of reservations
> (with their associated hardware addresses) on a Windows 2003 Server
> SP1.
>
> Is there a differnet tool (M/soft or free) / better way of doing this
> work??
>



Reply With Quote
  #3  
Old 05-16-2006, 10:55 AM
andywolk@gmail.com
Guest
 
Posts: n/a
Default Re: netsh dhcp / dhcpcmd - Which to use ???

I use dhcpcmd tool with my php scripts for manage dhcp scopes in
WINDOWS 2003 and NO PROBLEM!
You can find dhcpcmd on www.microsoft.com Windows nt 4 resource kit
No difference NT4 or 2003.

Reply With Quote
Reply

Tags
dhcp, dhcpcmd, netsh

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
Forum Jump


All times are GMT. The time now is 08:50 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.