Powershell AD find the deleted user list form AD server



Get-ADObject -SearchBase “CN=Deleted Objects, DC=pugazh, DC= coDC=in” -Filter {ObjectClass -eq "user"} -IncludeDeletedObjects -Properties * | ft CN,LastKnownParent,whenChanged -AutoSize

Comments

Popular posts from this blog

Troubleshooting Netlogon Error Codes

Service Principal Names (SPNs) SetSPN Syntax (Setspn.exe)

Troubleshooting AD Active Directory Replication Error 8456 or 8457: "The source | destination server is currently rejecting replication requests"