Hi everyone!
I'm a newbie to scripting(especially related to Active directory) and I
figure this would be a good starting point to learn.
Here is the situation.
I am installing a new server, and I would like to move all my users shares
to the new server.
Tasks that I think will need to happen in the process in no specific order.
0) Create a share on Machine2 called users, and set it to not inherit
permissions.
1) Copy all users shares from Machine1 to Machine2
2) Set NTFS attributes on each individual share on Machine2 to the following
%USERNAME% (depending on the user)
Modify, Read&Execute, List, Read, Write
Administrators Group
Full Controll
3) Modify Active Directory entries of home folder(Connnect U drive)
to show the new path of \\Machine2\Users\%username%
4) Remove all the old shares on Machine1(figure I'd do this manually at a
later date incase/when I screw up :->
I have some novice level programming experiance in C# and VB so you can get
a little technical...Maybe a sample script that I can modify to meet my needs
or a direction to some good resources.
Thanks
Josh Martin