nerdexam
Microsoft

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…

Configuring Active Directory Infrastructure

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)
  • A
    80% (37)
  • B
    11% (5)
  • C
    7% (3)
  • D
    2% (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

#Active Directory Recycle Bin#Get-ADObject#deleted OU restore#PowerShell AD cmdlets

Community Discussion

No community discussion yet for this question.

Full 70-648 Practice