- Scores: 0
- Joined: 3/14/2012
Poweshell Script For Network Interface Settings
Tuesday, February 11, 2014 1:52 PM
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.