Active directory automation

profileclassic_nj

Need help to get an assignment done. Requirements are VMware, windows server core (not the full GUI).

  • a month ago
  • 50
files (2)

PowerShellAutomationforActiveDirectorySubmissionTemplate.pptx

PowerShell Automation for Active Directory

Submission Template

Screenshot 1 Onboarding New Users from CSV

Single screenshot showing:

Script output (e.g. “Created user: jdoe”).

Get-ADUser results for those SamAccountNames.

Your custom prompt (server name + date/time).

Screenshot 2 Create and manage security groups

Group creation messages.

Membership check (e.g., jdoe in “Development”).

Custom prompt.

Screenshot 3 Offboard a user (Disable account)

Output of the offboarding script.

Get-ADUser showing Enabled: False.

Custom prompt.

Screenshot 4 Delete users after a period time

​Removal script output (e.g., “Deleted user: jdoe”).

Get-ADUser -Identity jdoe failing or returning nothing.

Custom prompt.

Screenshot 5 Audit Security Groups

Check the console output to confirm:

Each group’s membership.

A warning for the user with 6+ memberships.

image1.jpg

image2.png