Below is the script I use to find all computers in AD. How can I limit it to
just servers. I tried replacing the word computer with server but no luck.
$root = [ADSI]''
$searcher = new-object System.DirectoryServices.DirectorySearcher($root)
$searcher.filter = "(objectCategory=computer)"
$computers = $searcher.findall()
Thanks for the support.