Thursday, December 6, 2012

Active Directory Recycle Bin (Part 2)

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

Procedure To Restore Deleted User Account From Recycle Bin:

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 -Filter {displayName -eq "testit1"} -IncludeDeletedObjects | Restore-ADObject            




Step3: Refresh the Active Directory Users and Computers window.




No comments:

Post a Comment

Azure Policy support for remediating tags for existing resources

Use Azure policy to remediate tags for existing resources. https://azure.microsoft.com/en-us/updates/azure-provides-at-scale-tags-managem...