Professional Documents
Culture Documents
Objective:
o Create a script to import users into Active Directory placing each user in the correct OU and
Security Groups for their department.
o Create the OU and Security Group matching the department name and store the security
groups within the related OU by name.
o Create the OU and Security groups required from the imported data.
o Prompt the user for the path\filename of the file to import.
o Ensure you specify each user to change their password at next login and enable each account
after creation.
Recommendations:
o All work must be performed using PowerShell v7 on your Windows Server virtual machine.
o All screenshots and related files will be submitted via Blackboard and named correctly.
o Incorrectly named files will NOT be graded and will receive a zero.
o Ensure your script is well documented, including the header information.
o Use PascalCode and best practices to ensure you code is readable, understandable, and
organized.
o Marks will be deducted for improper use of Functions, HashTables, aliases and poorly named
variables.
o Ensure transcriptions are being recorded for each PS Session.
o It is recommended to use Visual Studio Code to create your script and save it to the shared
directory with the server. You can use Notepad on the server if you choose.
Note: Practice using sample data prior to running the script on the provided file. The provided
dataset is large and will take time to run. Ensure your script works with your own sample data. Avoid
using the same values for your sample data to prevent any errors and having to remove data.
Listen
Submission Requirements:
o Save a copy of your script (MidTerm-####.ps1) and copy it to your Z drive folder on the host
computer and attach it to your submission in Blackboard.
o Attach a copy of ALL transcript files related to your work on the MidTerm. Do not edit
them. It is ok to have errors in these files.
o Execute the following on your server:
o Get-ADUser -Filter * -Properties * | export-csv c:\bin\MidTermOutput####.csv
o Attach a copy of the Export File to your submission in Blackboard.
Listen
Importing Users to Active Directory PowerShell Script Grading Rubric: