How to recover deleted AD objects in Windows Server 2008 R2

You have deleted a user. Oh my…… All that work to get him back. Or, are you running R2 with the AD Recycle Bin enabled? Then just run this PowerShell command: GET-ADOBJECT –filter {name –like “missing it em*”} –includedeletedobjects RESTORE-ADOBJECT.

Push enter and done. One more reason to upgrade to R2 with its new directory services.

PS, look at this Active Directory Recycle Bin demo.

0 comments:

Subscribe to: Post Comments (Atom)