This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Archive_User { | |
<# | |
.Synopsis | |
Clean up user from Active directory and Exchange | |
.DESCRIPTION | |
Script to copy and save the users network storage documents and .pst file to \\Server\Share\. | |
Deletes exchange mailbox | |
Disables and moves the users network account to specified OU. | |
Removes all titles and department information. | |
Removes from all groups except domain users |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#New Student User Script | |
#Created May 2017 | |
#Function to automate creation of Student AD and email accounts | |
#Prompted for new user information: first name, last name, location, and Grade | |
#Based on School user will be place in proper OU and groups (high school and middle school only) | |
Function New_Student { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#New Staff User Script | |
#Created May 2017 | |
#Function to automate creation of Staff AD and email accounts | |
#Prompted for new user information: first name, last name, location, and job title | |
#Based on Building and job title user will be place in proper OU and groups | |
Function New_Staff { | |