I’ve got a script that takes a list of users and attributes from a .CSV file and creates a Home Folder and fills the path in ADUC (ADUC GUI > Profile > Home Folder > Connect > S > To: \NAS_Path\first.last
However the user doesn’t have permissions to the access the folder until I go into ADUC and highlight the path and press enter, at which time it tells me the folder is already there and asks if I’d like to grant permissions.
Is the solution to keep it entirely scripted, to add a set-acl to my script?