This project is for the creation of a windows script that when executed will archive the home folders of users that no longer exist on the network.
The script will have the following configurable variables:
- Home Folder Directory Path
- Archive Location Path
- Silent Mode Enabled
When the script is execute it will look at the names of the folders in the home folder directory. It will look through AD for a user that matches the folder name. If a user cannot be located then the folder should be moved to the archive location. Before any folders are moved, a dialogue box should be shown listing the folders to be moved and asking for confirmation. By Enabling silent mode the dialogue does not load and thus can be used by a scheduled task.
The script should be commented as necessary.