Run New Hire script
New user onboarding automation sets up the user with account specifics AND when done will email from createuserreport@zywave.com. check for the email after running script (about 5 min per user) to verify it was run correctly and no errors occurred.
Note: Confluence lists details of columns referenced and used in script here, Create User Script.
On Work PC
1. [Open] NewHireHardware Spreadsheet
-
[Copy] the User/Users that would like to add to the script, from Firstname to Remote N/Y
- Please note: if you pro-actively entered a password, please remove it from the field before you copy the line or be sure to delete it before saving in the newuser.csv.

>>>>> ***ADD THE RECOMMENDED C:\TEMP COPY \ PASTE*** <<<<
2. [Open] (with excel) S:\csvTemplates\newuser.csv
-
[Paste] the User/Users information below Firstname,Lastname,Username,etc
-
Paste over user information already there as that is the remnants of a previous script run.
- [Save] newuser.csv and [Close] Excel
- [Open] newuser.csv with notepad and Review
- [Save] newuser.csv and close notepad.
On ADM03
1. [Copy] S:\csvTemplates\newuser.csv
2. [Paste to] D:\Scripts\New User\newuser.csv
- *** Validate data is only user(s) you are attempting to create

3. [Open] as Admin Visual Studio Code
- [File] -> [Open] -> D:\Scripts\New User\Create_User.ps1 - Shortcut
- (note: it's a shortcut to: D:\git-repo\scripts\New Hire Scripts\New User Creation\Create_User.ps1)
- [Check] VS Code is running Powershell Extension (Bottom Right)

- [Run] -> Run Without Debugging - be sure the correct script is active
- [Terminal] Screen will populate Text
- [Input] (AFTER CSVImport) D:\Scripts\New User\newuser.csv [Enter]


I got an error in the script. What do I do?
The error that is most common is for the Users Mailbox not migrating correctly. We will have to migrate the mailbox manually and add the licensing ourselves.