That would probably be the best approach. You can easily get a list of user names, just doing a dir of the folder names (since they should be the same). Break those into 3 text files, the run set-aduser against that file. (I don’t have time to get the exact syntax.)
When I had to do the same several years ago I used the AD command dsmod. I can give you the syntax I used for that because I saved it: for /F %x in (homedrives.txt) do (dsmod user "CN=%x,OU=useraccounts,DC=domain,DC=com" -hmdir "\\fileserver1\users\%x" -hmdrv Z:) >>createhomedirs.log *From:* listsadmin@lists.myitforum.com [mailto: listsadmin@lists.myitforum.com] *On Behalf Of *Melvin Backus *Sent:* Wednesday, July 15, 2015 2:51 PM *To:* ntsys...@lists.myitforum.com *Subject:* [NTSysADM] RE: Splitting User Home Folders Certainly sounds like a script it in Powershell situation. -- There are 10 kinds of people in the world... those who understand binary and those who don't. *From:* listsadmin@lists.myitforum.com [ mailto:listsadmin@lists.myitforum.com <listsadmin@lists.myitforum.com>] *On Behalf Of *Kelsey, John *Sent:* Wednesday, July 15, 2015 1:42 PM *To:* ntsys...@lists.myitforum.com *Subject:* [NTSysADM] Splitting User Home Folders Currently, all of our user home folders are all lumped together under a single DFS share called ‘users’. The folder has become so large now that navigating the tree in explorer and file backup/restores are taking for-ev-er to complete. So we’re looking at ways to split these up into multiple folders, maybe alphabetically…A-J, K-S, etc. If I create this kind of structure in DFS, is there some kind of automated way to update the users account to point to the new folder? Is there a better way to skin this cat? Thanks all. *************************************** *John C. Kelsey* Penn Highlands DuBois (: 814.375.3073 2 : 814.375.4005 *: jckel...@phhealthcare.org *************************************** [image: PHH ESig Logo 150dpi] This email and any attached files are sensitive in nature and intended solely for the intended recipient(s). If you are not the named recipient you should not read, distribute, copy or alter this email. Any views or opinions expressed in this email are those of the author and do not represent those of Penn Highlands Healthcare or its affiliates.. Warning: Although precautions have been taken to make sure no viruses are present in this email, the company cannot accept responsibility for any loss or damage that arise from the use of this email or attachments.