I have a list of servers 2003 through 2012 r2 that I need to change from having a DNS suffixes order to Append primary and connection specific DNS Suffixes and check the box Append parent Suffixes of the primary DNS Suffix.
What I would really like is to have a way to discover the answers better on my own.
Here is me looking around:
$nics = [wmiclass]'win32_Networkadapterconfiguration'
[wmiclass]'Win32_NetworkAdapterConfiguration'
$nics.GetMethodParameters("SetDNSSuffixSearchOrder")
$nics | select -ExpandProperty Properties
DNSDomainSuffixSearchOrder
DNSServerSearchOrder
$cimClass = Get-CimClass win32_Networkadapterconfiguration
$cimClass.CimClassMethods
$cimClass.CimClassMethods["SetDNSSuffixSearchOrder"].Parameters
$cimClass.CimClassMethods["EnableDNS"].Parameters
$cimClass.CimClassMethods["EnableDNS"].Qualifiers
Get-WmiObject -Class win32_Networkadapterconfiguration