Bulk Change Staff Usernames / Home Folder Names
Over Christmas we plan to change all staff usernames in AD from firstname.lastname to firstinital.lastname - currently we have a system in place that automatically creates a homefolder on the fileserver which is names as the same as the username and shared as username$
If I change all the staff usernames, the connection with their homefolders will all be lost. Does anyone know of a way / script etc that will assist me in not only bulk changing the usernames but also bulk changing the home folder names and also the share names of those homefolders?
Thank you in advance!
OU= Staff > Science
Username = j.bloggs
Homefolder name = j.bloggs
Sharepath = \\fileserver\j.bloggs$
Homefolder physical location = fileserver\d$\Users\Staff\Science\j.bloggs