PrepAway - Latest Free Exam Questions & Answers

Which cmdlet should you use?

Your network contains an Active Directory domain. The domain contains an organizational unit (OU) named OU1. OU1 contains all managed service accounts in the domain. You need to prevent the managed service accounts from being deleted accidentally from OU1. Which cmdlet should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Set-ADUser

B.
Set-ADOrganizationalUnit

C.
Set-ADServiceAccount

D.
Set-ADObject

4 Comments on “Which cmdlet should you use?

    1. ichko says:

      Thanks for bringing the “B” answer – however B and D are correct just tested them on my machine and both are working fine:

      PS C:\Users\Administrator> set-adobject -identity “OU=People,dc=contoso,dc=com” -protectedfromaccidentalDeletion $true

      And:

      PS C:\Users\Administrator> set-adorganizationalunit -identity “ou=people,dc=contoso,dc=com” -protectedfromAccidentalDeletion $true




      0



      0

Leave a Reply