www.vmwareadmins.com

how many VMs can you put in a box?

  • Increase font size
  • Default font size
  • Decrease font size
Home Articles Find all Active Directory computers NOT in a group(s) using PowerShell

Find all Active Directory computers NOT in a group(s) using PowerShell

E-mail Print PDF
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 "KDC_WSUS_WKS", "FHH_WSUS_WKS", "HDC_WSUS_WKS"
 

Follow Me On...

Facebook linkedin twitter youtube