I'm trying to create a new user in AD with the New-ADUser command. When i look in the Users and Computers gui, all the parameters i've passed through powershell, is populated to correct fields, including HomeDrive and HomeDirectory.
However, the folder is not created on the share server, but when setting parameters manually in AD gui, the folder is created.
So my question(s) is/are, the powershell command, is it passed to Active Directory and Active Directory then handles the rest?
Or is powershell handling the entire thing and also passing the directory commands by itself?
P.s Active Directory is on server1(Windows 2008 R2) and usershares is on server2(Windows Server 2003).
I've verified that the Permissions ar correct as per http://support.microsoft.com/kb/555046
Thanks to anyone who possibly can shed some light on this.