Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

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 3333

Trending Articles