I have been trying to get a few different scripts to work to add a tertiary DNS server to all of our endpoints. But so far, none have worked. I keep getting "Incorrect Function" errors. Here is one of the commands I am trying:
Set-DnsClientServerAddress -InterfaceAlias Ethernet -ServerAddresses XX.XXX.XX.XXX,XX.XXX.XX.XXX,XX.XXX.XX.XXX