Skip to content

Powershell script and CSV file that allows you to import characters from Lord of the Rings as Users, into Active Directory

Notifications You must be signed in to change notification settings

jonny-jhnson/Import-LOTR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Import-Marvel

Powershell script and .CSV file that allows you to import Lord of the Rings characters as Users into Active Directory

Script:

  1. Adds users into Active Directory
  2. Adds users to appropriate groups based off of LOTR_users.csv.
  3. Sets Service Prinipal Names (SPN)'s for user gandalf.

To run:

  1. Download ./import_LOTR.ps1 and LOTR_users.csv.

  2. Change domain name to match personal enviroment's domain.

Note: This will need to be done in both files.

  • Inside of ./import_LOTR.ps1 on line: 59 & 76

  • Inside of LOTR_users.csv for each user in the 'ou' section

Example: "CN=aragorn,DC=example,DC=com" if desired domain is example.com

  1. Change the path to which LOTR_users.csv is located on line: 6 for ./import_LOTR.ps1.

  2. Run .\import_LOTR.ps1.

About

Powershell script and CSV file that allows you to import characters from Lord of the Rings as Users, into Active Directory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published