Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Nom;Prénom;Adresse Mail;Identifiant;Mot de passe;
- Sambat;Marcel;Marcel.sambat@monmail.com;
- Danielle;Tatie;Tatie.Danielle@monmail.com;
- Compriste;Gérard;Gerard.compriste@monmail.com
- Eussix;Rémy;Remy.Eussix@monmail.com
- # ==============================================================================================================================
- # NAME: Script.ps1
- # AUTHOR: Mantel Noé
- # DATE: 24/01/2017
- # DESCRIPTION: This script will import a csv file with differents users and will calculate the ID of each one (first letter of
- # the surname and 5 first letters of the last name). It will generate a password by including letters of the ID in desorder and
- # adding a number and a special character.
- # In a second part, the script will import these users in the Active Directory :
- # - It will generate a log file specifing steps one by one
- # - It will return the number of created/uncreated users
- # - It will list the users present in the Active Directory and extract them in a csv file with the following fileds : DisplayName
- # SamAccountName, LastName, whenCreated.
- # ==============================================================================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement