70-648 · Question #66
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?
The correct answer is A. Get-ADObjectcmdlet. You can also restore a deleted Active Directory object by using the Get-ADObjectand Restore- ADObjectActive Directory module for Windows PowerShell cmdlets. The recommended approach is to use the Get-ADObjectcmdlet to retrieve the deleted object and then pass that object…
Question
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?
Options
- AGet-ADObjectcmdlet.
- BGet-ADOrganizationalUnitcmdlet.
- CGet-ADUsercmdlet.
- DGet-ADGroupcmdlet.
How the community answered
(46 responses)- A80% (37)
- B11% (5)
- C7% (3)
- D2% (1)
Explanation
You can also restore a deleted Active Directory object by using the Get-ADObjectand Restore- ADObjectActive Directory module for Windows PowerShell cmdlets. The recommended approach is to use the Get-ADObjectcmdlet to retrieve the deleted object and then pass that object through the pipeline to the Restore-ADObjectcmdlet. The other cmdlets are used to search for or retrieve the respective objects into the pipeline, so they can be manipulated. However, this will only retrieve certain properties of the objects. The Get-ADObjectcmdlet, as its name implies, grabs the entire object (including all properties!) from
Topics
Community Discussion
No community discussion yet for this question.