Find all Active Directory computers NOT in a group(s) using PowerShell
Stretching my legs yet again in the MS world using powershell…
This time, I need to find all the computers in the Thick OU that are not members of WSUS groups!
Get-QADComputer -searchroot "ccs.local/3_workstations/thick" -NotMemberOf "WSUS_WKS1", "WSUS_WKS2", "WSUS_WKS3"