Bird
0
0

Which of the following best describes the function of the Get-ADUser cmdlet in PowerShell?

easy📝 Conceptual Q1 of 15
PowerShell - Active Directory
Which of the following best describes the function of the Get-ADUser cmdlet in PowerShell?
ACreates new user accounts in Active Directory
BRetrieves information about Active Directory user accounts
CDeletes user accounts from Active Directory
DModifies user account passwords in Active Directory
Step-by-Step Solution
Solution:
  1. Step 1: Understand the cmdlet purpose

    Get-ADUser is designed to query and retrieve user account details from Active Directory.
  2. Step 2: Eliminate other options

    Creating, deleting, or modifying passwords are done by other cmdlets like New-ADUser, Remove-ADUser, or Set-ADAccountPassword.
  3. Final Answer:

    Retrieves information about Active Directory user accounts -> Option B
  4. Quick Check:

    Retrieves user info, not modifies or deletes [OK]
Quick Trick: Get-ADUser fetches user data, not changes it [OK]
Common Mistakes:
  • Confusing Get-ADUser with cmdlets that create or delete users
  • Assuming it modifies user properties directly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes