Friday, July 3, 2009

How to recover deleted AD objects in Windows Server 2008 R2

You have deleted a user. Oh my f......! 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 “the user*”} –includedeletedobjects RESTORE-ADOBJECT

No comments:

Post a Comment