This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

User provisioning Home Drives

Hi there,  i am in the process of configuring user provisioning in AR and i want to be able to create a home drive in two septate locations.  In the user provisioning policy i have added "provision users with home folders" twice but it doesn't execute the second home drive instance.

I'm new to AR and there could be something i am missing or a way to use the script module to create it.  I have tried both and for the script module i used the following:

 
function CreateHomeDir($createhomedir)
{

$userdn=$createhomedir.samaccountname

path = '\\share\homedrives\'
New-Item -name $UserDN -Type "directory" -Path $path
}

  • homeDirectory is a single value string attribute on AD user. 

    Making AR HomeFolder Policy apply twice in the same AR Policy hitting the same AD user? Interesting. Never done. at the best the 2nd overwrite the 1st. Not sure.