AZ-800 · Question #264
You have been tasked to reconfigure the properties of some users in the Sales organization unit of the fabrikam.com domain. Which of the following cmdlets would you use in PowerShell to make the…
The correct answer is B. Set-ADuser. Set-ADUser is the correct PowerShell cmdlet for modifying properties of existing Active Directory user accounts. Since the task is to 'reconfigure' (i.e., modify) existing users in the Sales OU, Set-ADUser is appropriate. New-ADUser (A) creates new users, Get-ADUser (C)…
Question
You have been tasked to reconfigure the properties of some users in the Sales organization unit of the fabrikam.com domain. Which of the following cmdlets would you use in PowerShell to make the changes?
Options
- ANew-ADuser
- BSet-ADuser
- CGet-ADuser
- DChange-ADuser
How the community answered
(64 responses)- A2% (1)
- B92% (59)
- C5% (3)
- D2% (1)
Explanation
Set-ADUser is the correct PowerShell cmdlet for modifying properties of existing Active Directory user accounts. Since the task is to 'reconfigure' (i.e., modify) existing users in the Sales OU, Set-ADUser is appropriate. New-ADUser (A) creates new users, Get-ADUser (C) retrieves user information without making changes, and Change-ADUser (D) is not a valid PowerShell cmdlet.
Topics
Community Discussion
No community discussion yet for this question.