PrepAway - Latest Free Exam Questions & Answers

Which cmdlet should you use?

Your network contains one Active Directory domain named contoso.com. The forest functional level
is Windows Server 2012. All servers run Windows Server 2012 R2. All client computers run Windows
8.1.
The domain contains 10 domain controllers and a read-only domain controller (RODC) named
RODC01. All domain controllers and RODCs are hosted on a Hyper-V host that runs Windows Server
2012 R2.
You need to identify whether deleted objects can be recovered from the Active Directory Recycle
Bin.
Which cmdlet should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Get-ADGroupMember

B.
Get-ADDomainControllerPasswordReplicationPolicy

C.
Get-ADDomainControllerPasswordReplicationPolicyUsage

D.
Get-ADDomain

E.
Get-ADOptionalFeature

F.
Get-ADAccountAuthorizationGroup

Explanation:
The Get-ADOptionalFeature cmdlet gets an optional feature or performs a search to retrieve
multiple optional features from an Active Directory.
Example: Get-ADOptionalFeature ‘Recycle Bin Feature’
Get the optional feature with the name ‘Recycle Bin Feature’.

Get-ADOptionalFeature
https://technet.microsoft.com/en-us/library/ee617218.aspx

2 Comments on “Which cmdlet should you use?

    1. Piteros77 says:

      Agree with Bas
      answer E -> Get-ADOptionalFeature

      Example:
      PS C:\> Get-ADOptionalFeature -Identity ‘Recycle Bin Feature’ -Server server1:50000
      This command gets the optional feature Recycle Bin Feature in an AD LDS instance.




      0



      0

Leave a Reply