- New-RandomADUser
- Description
- Features
- Requirements
- Install module from PowerShell Gallery
- Usage and Examples
- Contributing
- License
This PowerShell module generates random Active Directory users. It is primarily intended for testing purposes such as:
- Populating Active Directory with test users for performance and security testing.
- Creating realistic user accounts for security simulations.
- Generating sample data for development and training environments.
- Generates users with random names, passwords, and other attributes.
- Ability to specify desired target Organizational Unit (OU).
- Control over password complexity and other attributes.
- PowerShell v5.1 or later: The module leverages PowerShell's Active Directory cmdlets.
- Active Directory Module: Ensure the Active Directory module is installed (
Import-Module ActiveDirectory
). - Permissions: The user executing the script must have appropriate permissions in Active Directory to create user accounts.
Install-Module -Name New-RandomADUser
New-RandomADUser -Domain lab.local -OU "OU=Test,DC=lab,DC=local"
New-RandomADUser -Domain lab.local -OU "OU=Test,DC=lab,DC=local" -Count 100 -Prefix "tst-"
Contributions are welcome! Please submit issues and pull requests to the GitHub repository.
This module is licensed under the MIT License.