Active Directory Recycle Bin (Part 3)

 In Continuation to my Part 2 post where i discussed about How to Restore Deleted User Account From Recycle Bin, now we will discuss the post on How to Restore Deleted OU.


Procedure to Restore Deleted OU:

In this example we have deleted “Test IT1” User account and we will be restoring the same.



Step1: Click Start, click Administrative Tools, right-click Active Directory Module for Windows PowerShell, and then click Run as administrator.



Step2: At the Active Directory module for Windows PowerShell command prompt, type the following command, and then press ENTER

Get-ADObject -ldapFilter:”(msDS-LastKnownRDN=ITING)” –IncludeDeletedObjects | Restore-ADObject       


Step3: Refresh the Active Directory Users and Computers window.




“ITING” OU has been restored





Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s