PrepAway - Latest Free Exam Questions & Answers

Which cmdlet should you use?

Your network contains an Active Directory domain named contoso.com.
The Administrator deletes an OU named OU1 accidentally.
You need to restore OU1. Which cmdlet should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Set-ADObject cmdlet.

B.
Set-ADOrganizationalUnit cmdlet.

C.
Set-ADUser cmdlet.

D.
Set-ADGroup cmdlet.

Explanation:
Reference/Reference:
http://technet.microsoft.com/en-us/library/dd379509.aspx
Restoring a deleted Active Directory object using the Get-ADObject and Restore-ADObject
cmdlets
You can also restore a deleted Active Directory object by using the Get-ADObject and
Restore-ADObject Active Directory module for Windows PowerShell cmdlets. The
recommended approach is to use the Get-ADObject cmdlet to retrieve the deleted object
and then pass that object through the pipeline to the Restore-ADObject cmdlet.


Leave a Reply