$adapters = [System.Net.NetworkInformation.NetworkInterface]::GetAllNetworkInterfaces()
ForEach ($adapter in $adapters) {
$properties = $adapter.GetIPProperties()
$adapter.Description
" DNS suffix .............................. : {0}" -f $properties.DnsSuffix
" DNS enabled ............................. : {0}" -f $properties.IsDnsEnabled
" Dynamically configured DNS .............. : {0}" -f $properties.IsDynamicDnsEnabled
}