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.
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
No comments:
Post a Comment