Information Technology Reference
In-Depth Information
Alternately, you can use Windows PowerShell to locate and restore a deleted object. To
restore that same David Hamilton user shown in Figure 5-25, use the following:
Get-ADObject -Filter {Name -like "David*"} -IncludeDeletedObjects | Restore-ADObject
As shown in Figure 5-26, if you search for the David Hamilton object, you don't find it until
you use the -IncludeDeletedObjects parameter. After you restore it with Restore-ADObject,
the user object is found.
FIGURE 5-26 The Windows PowerShell Restore-ADObject
 
Search WWH ::




Custom Search