This is a PowerShell script that will enumerate the DNS suffix and DNS server entries for TCP/IP enabled interfaces on hosts that run a Windows Server OS.

$objName = "***filter-text***"
$searcher = new-object DirectoryServices.DirectorySearcher([ADSI]"")
$searcher.filter = "(&(objectClass=user)(objectCategory=computer)`

	(cn= $objName*)(operatingSystem=*Server*))"
$objAd = $searcher.findall()

foreach ($objComp in $objAd)
{
	$strServerName = $objComp.properties.cn
	$strNICs = Get-WMIObject Win32_NetworkAdapterConfiguration`

		-computername $strServerName | where{$_.IPEnabled -eq $TRUE}
	Foreach($strNIC in $strNICs)
	{
		write-host $strServerName
		$strNIC.DNSDomain
		$strNIC.DNSServerSearchOrder
		write-host ""
	}
}

This script will set the DNS suffix and DNS server entries for each interface. Just set the variables, $objName, $strDNSServers, and $strDNSName

$objName = "***filter-text***"
$strDNSServers = "***dns-server-1***","***dns-server-1***"
$strDNSName = "***dns-suffix***"

$searcher = new-object DirectoryServices.DirectorySearcher([ADSI]"")
$searcher.filter = "(&(objectClass=user)(objectCategory=computer) '
	(cn= $objName*)(operatingSystem=*Server*))"
$objAd = $searcher.findall()

foreach ($objComp in $objAd)
{
	$strServerName = $objComp.properties.cn
	$strNICs = Get-WMIObject Win32_NetworkAdapterConfiguration`

		-computername $strServerName | where{$_.IPEnabled -eq $TRUE}

	Foreach($strNIC in $strNICs) 
	{
		$strNIC.SetDNSServerSearchOrder()
		$strNIC.SetDNSServerSearchOrder($strDNSServers)
		$strNIC.SetDNSDomain($strDNSName)
	}
}