Advertisement
Guest User

Untitled

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