myITforum and Windows IT Pro Forums

 Poweshell Script For Network Interface Settings

Author Message
kconway35

  • Total Posts : 4
  • Scores: 0
  • Reward points : 7710
  • Joined: 3/14/2012
  • Status: offline
Poweshell Script For Network Interface Settings Tuesday, February 11, 2014 1:52 PM (permalink)
0
Hi,  


I'm currently trying to write a powershell script for both Sever 2008 R2 and Server 2012 that configures the TCP/IP V. 4 Network Interface settings.   I have figured out how to set the static IP address, subnet mask and default gateway settings using the netsh command.   I'm having issue figuring out how to configure the following settings
Add DNS Suffix for this connection to "abc.com"
Append these DNS Suffixes (In Order) abc.com, abcd.com, abcde.com
Uncheck Register this connection's address in DNS
Add WINS Server IP Address entires  
I just started using Powershell and am trying to learn on the fly.   Any suggestions or links for help would be greatly appreciated.  


Thanks,


Kevin C.
 
#1
    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2014 ASPPlayground.NET Forum Version 3.9