04 February 2016

Ldap filter for deleted objects


to get all deleted computer accounts:


Get-ADObject -LDAPFilter "(&(ObjectClass=computer)(isDeleted=*))" -IncludeDeletedObjects -Server servername