Skip to content

Creates a user in Active Directory with a randomly generated username.

Notifications You must be signed in to change notification settings

koma29/AD_PS_Create_Random_User

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Active Directory Create Random User

Description

Creates a user in Active Directory with a randomly generated username.

Languages and Utilities Used

  • PowerShell
  • Oracle Virtual Box
  • Active Directory

Environments Used

  • Windows Server 2022

Program walk-through:

Download the files and run PowerShell ISE as administrator. If you can't run the script type "Set-ExecutionPolicy Unrestricted" and select "yes to all" then run again. After you've ran the script Active Directory will have a new Orginizational Unit called _USERS with a new user that has a randomly generated name. Running the script again will just create another new user inside _USERS.

Before:
Disk Sanitization Steps

Creating User with PowerShell:
Disk Sanitization Steps

After:
Disk Sanitization Steps

About

Creates a user in Active Directory with a randomly generated username.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published