Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

PowerTip: Use PowerShell to Update DNS IP Address

$
0
0

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 10.1.1.10, 10.1.1.11


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>