PowerTip: Use PowerShell to Update DNS IP Address

Doctor Scripto

Summary: Use Windows PowerShell 3.0 on either Windows 8 or Windows Server 2012 to update the DNS server IP addresses on a client.

Hey, Scripting Guy! Question How can I update my DNS server IP addresses on my Windows 8 client?

Hey, Scripting Guy! Answer According to Brian Wilhite, Charlotte Windows PowerShell user group member: Luckily, there is a Windows PowerShell cmdlet that does this very thing. The Set-DnsClientServerAddress is just the ticket to perform this task. It’s in the DnsClient module. We’ll also use the InterfaceAlias and ServerAddresses parameters.

Set-DnsClientServerAddress -InterfaceAlias Wi-Fi -ServerAddresses,


Discussion is closed.

Feedback usabilla icon