setting IP information via script

Discussion in 'Scripting' started by James, Aug 20, 2008.

  1. James

    James Guest

    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.
    James, Aug 20, 2008
    1. Advertisements

  2. Check out these examples for configuring network settings in the Script

    The first two scripts seem to be what you need.
    Richard Mueller [MVP], Aug 20, 2008
    1. Advertisements

  3. James

    James Guest

    James, Aug 20, 2008
  4. James

    Masterplan Guest

    Masterplan, Aug 21, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.