Link to home
Start Free TrialLog in
Avatar of Donnie4572
Donnie4572Flag for United States of America

asked on

VB Script

We are migrating users from one domain to another which means that profiles must be created to match the one they used in the old domain.
Is it possible for a vb script to automate this? Example: outlook profile settings, desktop shortcuts from old profile to new profile. With 200 users I would sure like to automate as much as possible.
Thanks
Donnie
Avatar of Blitzman
Blitzman

Avatar of Donnie4572

ASKER

This is good migration script but I'm looking for script that can move local desktop settings/profile
C:\Documents and Settings\username domain1'''''''''''''''''''TO'''''''''''''''''''''''''C:\Documents and Settings\username domain2
So your essentially looking for a way to automate the moving of a lot of folders while changing their name to the second domain? If this is the case all you need to do is enumerate the folders in the documents and settings and manipulate the string of the folder name to change the domain. This can be done using file i/o with commands like
Directory.Move
for moving the directories
GetDirectories
to enumerate subfolders

If you need some help with string manipulation let us know, but the actual code won't be too complex, although if you want to provide details on the domain names i'll be write something for you.

James
ASKER CERTIFIED SOLUTION
Avatar of naiea1231
naiea1231

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Very Good! I will try this. Thanks.
Works well Thanks. I can imagine lots cool stuff for FSO.