Powershell script to set existing users Homedirectory based on inputfile
Posted on 2013-10-24
I have a list of users that have not got a home directory set, I have all the samaccountname in a CSV file,
I would like to use this as an input file to set the Home directory to use the H drive and be \\domain.com\userprofiles\%username%\Home
Is anyone able to help me out with a script to do that.