Suggestion |
Post Reply |
Author | |
IH82LUZ
Newbie Joined: 17 Dec 2008 Location: Fargo, ND Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 05 Jan 2009 at 11:10am |
This might have been covered before, but I thought it might be useful information for some people who are starting to migrate their company over to AD.
We have our users run a script that launches the migration process. Periodically this script fails and either the user doesn't tell us or they call us and can't fully explain what the problem is. What I did was created a VB script called email.vbs. What this does is email me that the process failed and it attaches the log file. The email comes from their user name on the computer @ the domain, the log file is attached, and it has their computer name in the body of the email. It's greatly helped my troubleshooting. Here is what's in my email.vbs, not very complicated:
I then injected this code in the Migrate.vbs in the line right after "MsgBox strMessage, Icon, "User Profile Migration Script"
Now if the Migration fails for someone, I get an email with the log file attached and the PC name. Hope this helps anyone.
Rob
|
|
Thanks,
Rob |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |