Poweshell Script For Network Interface Settings

Author
kconway35
New Member
  • Total Posts : 4
  • Scores: 0
  • Reward points: 7710
  • Joined: 2012/03/14 20:50:47
  • Status: offline
2014/02/11 13:52:30 (permalink)
0

Poweshell Script For Network Interface Settings

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

0 Replies Related Threads

    Jump to:
    © 2018 APG vNext Commercial Version 5.5