Donnie4572
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
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
Yeh it's possible. www.tek-tips.com/viewthread.cfm?qid=898919
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
C:\Documents and Settings\username domain1'''''''''''''''''''
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Very Good! I will try this. Thanks.
ASKER
Works well Thanks. I can imagine lots cool stuff for FSO.