PrepAway - Latest Free Exam Questions & Answers

Which cmdletshould you use?

Your network contains an Active Directory domainnamed contoso.com.
The Administrator deletes an OUnamed OU1 accidentally.
You need to restore OU1.
Which cmdletshould you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Get-ADObject cmdlet.

B.
Get-ADOrganizationalUnit cmdlet.

C.
Get-ADUser cmdlet.

D.
Get-ADGroup cmdlet.

Explanation:
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-ADObjectand Restore-ADObject
Active Directory module for Windows PowerShell cmdlets. The recommended approach is to use the GetADObjectcmdlet to retrieve the deleted object and then pass that object through the pipeline to the RestoreADObject cmdlet.


Leave a Reply