You might want to check out the netsh command.  You can use it to dump the 
current network configuration (or a part of it) to a file, which can then 
be used later to restore your desired setup.  I use this to configure my 
laptop's network settings when moving from one network environment to another.

Ted


At 11:53 AM 8/21/2002 -0500, you wrote:

>This is what I do manually on a w2k server:
>
>[1] enable network interface;
>[2] dhcp release
>[3] dhcp renew
>[4] <do some network stuff />
>[5] disable network interface
>
>How can I automate this?
>
>Which modules contain functionality that I need to know?
>
>--
>
>Best Regards,
>
>mds
>mds resource
>888.250.3987
>
>Dare to fix things before they break . . .
>
>Our capacity for understanding is inversely proportional to how much we
>think we know.  The more I know, the more I know I don't know . . .
>_______________________________________________
>Perl-Win32-Users mailing list
>[EMAIL PROTECTED]
>To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to