robertarenson
asked on
PowerShell Script Help to Setup Domain Users Home Drives
I have a simple PowerShell Script that does work but it only works for individual user names, was hoping to get assistance on setting it up for all Domain Users.
Set-ADUser -identity "UserName" -homeDrive h: -homeDir "\\ServerName\User$"
We currently have all Home Drive's being mapped via Logon Scripts but we are migrating over to DFS instead. In turn I need to add the new share locations once it is ready for all users in the domain.
There will be multiple share locations but I was thinking the easiest way would be to use share name itself once completed.
Thanks again for your help.
Set-ADUser -identity "UserName" -homeDrive h: -homeDir "\\ServerName\User$"
We currently have all Home Drive's being mapped via Logon Scripts but we are migrating over to DFS instead. In turn I need to add the new share locations once it is ready for all users in the domain.
There will be multiple share locations but I was thinking the easiest way would be to use share name itself once completed.
Thanks again for your help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER