Saturday, August 31, 2013

PS Quick Tips: Change Primary DNS Server of a network interface

10 - is the interface index. This can be found by running Get-NetAdpater, this will be the column named ifIndex.
("") - is the DNS server address(es) you want to assign to that interface, this is a comma separated list.

This only works on Powershell 3 (or maybe later).


No comments: