Is there a way to find out what machines are using a specific DNS server? We are switching servers and want to make sure any static assigned machines are not using the old servers anymore.
There's a caveat with #4 above - Get-DNSClientServerAddress is only available on Win8 and newer.
Mohammed Khawaja
Good point, I run Windows 10 and didn't even think of OS supported by different versions. What you could do is change the powershell command to "ipconfig /all > \\server\share\%computername%.txt
You would have to manually check each text file as if you do a find for string DNS, it will always give you the primary server name. Secondary server name is in the next line.