Run New Hire script
Modified on: Wed, 29 Jan 2025 1:03 PMNew 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.
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
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
- [Check] VS Code is running Powershell Extension (Bottom Right)
- [Run] -> Run Without Debugging
- [Terminal] Screen will populate Text
- [Input] (AFTER CSVImport) D:\Scripts\New User\newuser.csv [Enter]
- [Input] SA password
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.