I'm looking for a way to automate
the process through either WSH or
a batch file.
I've found Q197424 which applies to
Windows 95 and 98, which gets most
of the workstations, and that's great.
Is there a way of doing the same for
Windows NT4, and Windows 2000 Pro?
Thanks in advance,
Andrew
CJ M
"CJ Morton" <mort...@NOSPAMjohndeere.com> wrote in message
news:3d85f476$1...@news1.dpn.deere.com...
> Check out the built-in NETSH.exe utility in the Winnt\system32 dir...
>
> CJ M
>
>
> "Andrew Z Carpenter" <a...@nospamcirencester.ac.uk> wrote in message
> news:OhEQ8QYXCHA.2456@tkmsftngp09...
CJ M
"Andrew Z Carpenter" <a...@nospamcirencester.ac.uk> wrote in message
news:OhEQ8QYXCHA.2456@tkmsftngp09...
#========================
# Interface configuration
#========================
pushd interface
reset all
popd
# End of interface configuration
# ----------------------------------
# Interface IP Configuration
# ----------------------------------
pushd interface ip
# Interface IP Configuration for "Local Area Connection"
set address name="Local Area Connection" source=dhcp
set dns name="Local Area Connection" source=dhcp
popd
# End of interface IP configuration
----------------------------------------------
"Marty List" <Bill....@sun.com> wrote in message
news:Od4bCTZXCHA.2056@tkmsftngp09...
>
> Attached is a VBS/WMI script that will enable DHCP. I have not tested it
> really, but it will get you started
>
>
> "Andrew Z Carpenter" <a...@nospamcirencester.ac.uk> wrote in message
> news:OhEQ8QYXCHA.2456@tkmsftngp09...
Andrew
> "Marty List" <Bill....@sun.com> wrote in message
> news:Od4bCTZXCHA.2056@tkmsftngp09...
> >
> > Attached is a VBS/WMI script that will enable DHCP. I have not tested it
> > really, but it will get you started
>
>
> "Jim de Graff" <rjde...@hydro.mb.ca> wrote
> in message news:#cqQ7waXCHA.2404@tkmsftngp10...
Andrew
> "CJ Morton" <mort...@NOSPAMjohndeere.com> wrote in
> message news:3d85f4d1$1...@news1.dpn.deere.com...
>
> Check out the built-in NETSH.exe utility in the Winnt\system32 dir...
>
> "Andrew Z Carpenter" <a...@nospamcirencester.ac.uk> wrote in message
> news:OhEQ8QYXCHA.2456@tkmsftngp09...
> > We're moving from static IP to DHCP.
> >
> > I'm looking for a way to automate
> > the process through either WSH or
> > a batch file.
> >
> > I've found Q197424 which applies to
> > Windows 95 and 98, which gets most
> > of the workstations, and that's great.
> >
> > Is there a way of doing the same for
> > Windows NT4, and Windows 2000 Pro?
> >
>
> Check out the built-in NETSH.exe utility in the Winnt\system32 dir...
Hi
Microsoft Knowledge Base Article - Q242468
How to Use the Netsh.exe Tool and Command-Line Switches
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q242468
--
torgeir