SOLVED

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

New 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 (New Contributor)
Solution
This is the answer:
# Append primary and connection specific DNS suffix
Set-DnsClientGlobalSetting -SuffixSearchList @("")