nerdexam
Microsoft

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)…

Deploy and manage Active Directory Domain Services (AD DS) in on-premises and cloud environments

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)
  • A
    2% (1)
  • B
    92% (59)
  • C
    5% (3)
  • D
    2% (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

#Active Directory#PowerShell#User Management#Set-ADuser

Community Discussion

No community discussion yet for this question.

Full AZ-800 Practice