Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - setting IP information via script

Reply
 
Old 08-20-2008   #1 (permalink)
James


 
 

setting IP information via script

Hello all,

I'm about to start looking into my options for configuring IP information
via script. IP address, subnet mask, gateway, and dns servers. A key thing
is that I need a solution that will work on Windows 2000, 2003, and 2008,
whether that be one method that works for all or one where I need to first
ascertain which OS is running and then branch logic accordingly.

what are my options? anyone have any links to some examples?

- all wsh/vbscript?

- WMI?

any input would be appreciated.



My System SpecsSystem Spec
Old 08-20-2008   #2 (permalink)
Richard Mueller [MVP]


 
 

Re: setting IP information via script


"James" <noone@xxxxxx> wrote in message
news:eezmrrsAJHA.1628@xxxxxx
Quote:

> Hello all,
>
> I'm about to start looking into my options for configuring IP information
> via script. IP address, subnet mask, gateway, and dns servers. A key thing
> is that I need a solution that will work on Windows 2000, 2003, and 2008,
> whether that be one method that works for all or one where I need to first
> ascertain which OS is running and then branch logic accordingly.
>
> what are my options? anyone have any links to some examples?
>
> - all wsh/vbscript?
>
> - WMI?
>
> any input would be appreciated.
>
Check out these examples for configuring network settings in the Script
Center:

http://www.microsoft.com/technet/scr...y/default.mspx

The first two scripts seem to be what you need.

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--


My System SpecsSystem Spec
Old 08-20-2008   #3 (permalink)
James


 
 

Re: setting IP information via script

great, I'll check it out. Thanks.

"Richard Mueller [MVP]" <rlmueller-nospam@xxxxxx> wrote in
message news:eArM3OtAJHA.1628@xxxxxx
Quote:

>
> "James" <noone@xxxxxx> wrote in message
> news:eezmrrsAJHA.1628@xxxxxx
Quote:

>> Hello all,
>>
>> I'm about to start looking into my options for configuring IP information
>> via script. IP address, subnet mask, gateway, and dns servers. A key
>> thing is that I need a solution that will work on Windows 2000, 2003, and
>> 2008, whether that be one method that works for all or one where I need
>> to first ascertain which OS is running and then branch logic accordingly.
>>
>> what are my options? anyone have any links to some examples?
>>
>> - all wsh/vbscript?
>>
>> - WMI?
>>
>> any input would be appreciated.
>>
>
> Check out these examples for configuring network settings in the Script
> Center:
>
> http://www.microsoft.com/technet/scr...y/default.mspx
>
> The first two scripts seem to be what you need.
>
> --
> Richard Mueller
> MVP Directory Services
> Hilltop Lab - http://www.rlmueller.net
> --
>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
WMI script to obtain Power Supply information VB Script
batch file / script to replace information VB Script
Script to query user information based upon group membership VB Script
Powershell Script to extract drive information PowerShell
Script for finding the CPU and Memory information PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46