Here is the link for the script I am using to create additional personal folders (Version 2.0).
It is compare between two folders and create folders with same permissions as in the first.
I am running this script from scheduler every day to create second personal folders for new users created in my domain.
The script is wrote in powershell.
It is can be run from command line like schedule task: “C:WindowsSystem32WindowsPowerShellv1.0powershell.exe -command”
Download the Script and rename the suffix from .txt to .ps1
On the first section you need to feel relevant data for your domain, your file location, your servers and emails for update when creation occur (change the brackets to relevant data, NO NEED BRACKETS!!!):
$tempfile1 = “D:TempUsersPST.txt”
$tempfile2 = “D:TempUsersDataNotInUsersPST.txt”
$tempfile3 = “D:TempUsersDataInUsersPST.txt”
$tempfile4 = “D:TempUsersData.txt”
$smtpServer = “[SMTPSERVER]”
$path1 = “[Second Location for personal Folder]”
$path4 = “[First Location of personal Folder]”
$Sender = “[Script@domain.com]”
$Receptions = “[1stContact@domain.com,2ndContact@domain.com]”
$Subject = “Second personal folder created for users”
I will be glade to get suggestions…