techfreak.ch Blog

Some stuff for me to remember

Home Blog About me

Change DNS Server for DNS Clients in Domain

Recently we had the need to change DNS Servers on a couple of machines. Rather than logging into every machine and doing this manually, of course we did it using PowerShell! It even works with IPv6.

You can watch the progress using

Get-Job

Simple, and pretty fast.