kirkgacias / ad-user-generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microsoft Active Directory Logo

Active Directory: User Generation

Welcome to the "Active Directory User Generation" project. In this project, we'll create user accounts using a powershell script to populate our domain for future use in simulated scenarios.

Prerequisites

Key Objectives

User Creation

  • Create a number of users using a power shell script in order to populate our domain

Environments and Technologies Used

  • Microsoft Azure (Virtual Machines/Compute)
  • Remote Desktop
  • Active Directory Domain Services

Operating Systems Used

  • Windows Server 2022
  • Windows 10 (21H2)

.

.

User Creation

① Run PowerShell script

First we will be using a Powershell script to generate a number of users for our Active Directory Domain.

  • Login to DC-01 as jane_admin
  • Open PowerShell_ise as an administrator and paste the contents of the script and run it.

POWERSHELL

The script will generate a number of users with a combination of consonants and vowels so the names might be unusual.

.

.

.

Once the script is done running, you can verify in Active Directory that the users have been created.

USERS

② Login as user

  • Now you can try logging in as one of the users to further verify that the script has worked.
  • Take note of the default password in the script (Password1)
LOGIN

Final Thoughts

In closing, the "Active Directory User Generation" project streamlines our user management process. Using a PowerShell script, we efficiently create user accounts, setting the stage for the next projects.

About