220-1102 · Question #628
Which of the following languages is used for scripting the creation of Active Directory accounts?
The correct answer is D. PowerShell. PowerShell is the primary scripting language used for automating administrative tasks in Windows environments, including the creation and management of Active Directory accounts.
Question
Which of the following languages is used for scripting the creation of Active Directory accounts?
Options
- ABash
- BStructured Query Language
- CHypertext Preprocessor
- DPowerShell
How the community answered
(32 responses)- A3% (1)
- B6% (2)
- D91% (29)
Why each option
PowerShell is the primary scripting language used for automating administrative tasks in Windows environments, including the creation and management of Active Directory accounts.
Bash is a Unix shell and command language not natively used for Active Directory scripting.
Structured Query Language (SQL) is used for managing and querying relational databases, not for scripting Active Directory directly.
Hypertext Preprocessor (PHP) is a server-side scripting language primarily used for web development, not for Active Directory administration.
PowerShell provides a robust command-line shell and scripting language specifically designed for system administration of Windows systems. It includes dedicated cmdlets for managing Active Directory objects, such as New-ADUser for account creation, making it the most suitable tool for scripting these tasks.
Concept tested: Active Directory scripting with PowerShell
Source: https://learn.microsoft.com/en-us/powershell/module/activedirectory/new-aduser?view=activedirectoryps-1.1
Topics
Community Discussion
No community discussion yet for this question.