SOLVED

For a specific network adapter enable "Append primary and connection specific DNS suffixes"

Copper Contributor

Is there a powershell command to enable (turn on) the "Append primary and connection specific DNS suffixes" for a specific network adapter (i.e. InterfaceIndex)?

I can set the connection specific suffix with Set-DnsClient.

1 Reply
best response confirmed by RSBlanco (Copper Contributor)
Solution
This is the answer:
# Append primary and connection specific DNS suffix
Set-DnsClientGlobalSetting -SuffixSearchList @("")
1 best response

Accepted Solutions
best response confirmed by RSBlanco (Copper Contributor)
Solution
This is the answer:
# Append primary and connection specific DNS suffix
Set-DnsClientGlobalSetting -SuffixSearchList @("")

View solution in original post