I am trying to find if any servers in our enviroment have NOT been applied to a particular group. I have a list of groups that we use to patch our Windows Servers on partiular d
$servers = get-adcomputer -Filter 'ObjectClass -eq "Computer"' -properties * | if($server.OperatingSystem -match "Windows Server 200[38]" | % { $_.Server } | select Domain,Name,Roles,OSVersion,IPAddress