The tasks that you have outlined look about right to me, Chris. I'm not very
good with VBScript-- anything I've done so far has been very simple, and
relied heavily on code samples and snippets created by others. Here are my
observations on what you have outlined (I'll maintain the step-by-step
format that you started). Some can be looked at as statements _and_
questions...
1. User could be determined either from a file, from requested input dialog
box, or command line switch.
2. I assume this is a fairly basic VBScript command
3. You assumed that the Manager field was populated-- how do you get the
manager's NT account from that information? Would it be supplied in the same
way as the user to be deleted was in step 1?
4. Is this something that VBScript can do with native capabilities, or would
it be an export, massage, import type of thing?
5. Notification is easily done... I assume that adding the mailbox to the
manager's profile would have to be a manual step.
6. Implication here is that you know that the manager has done this (or that
the SysAdmin does it).
6.5. Could be pretty standard inside script, with a command line input for a
date variable (or even a date calculation within the script).
7. Would you need to use Exmerge, or does VBScript have access to Outlook's
export function?
8. Easily scripted (assuming administrative access exists).
9. Ditto. Although it does beg the question of what to do if the size
exceeds a single CD. But then again, in your assumptions list you specified
a non-crap CD burning software, so hopefully it'll span a couple of CDs.
Otherwise some logic will have to be put in place to split things up
somehow, or this becomes a manual task.
10. Burn, baby, burn!
10.5 Good ol' sneakernet.
11. Could a delayed delivery message be scripted (or a calendar appointment)
for the manager and the Exchange Admin?
12. Self-explanatory.
13. & 14. At this point, doing these manually is no problem.
That's my (more or less non-programming) take on it. Anything in there that
is totally wrong, or am I more or less on the right track?
Mike Morrison
NT/SMS/Exchange Administrator
Ben & Jerry's Homemade, Inc.
-----Original Message-----
From: Scharff, Chris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 10:31 PM
To: Exchange Discussions
Subject: RE: An Academic Exercise (was: RE: Minions (was RE: Undelete
comm and) )
I thought I'd try to break down the process into discrete steps and see how
one might go about automating the process. For the purposes of this exercise
I'm going to use the following assumptions:
1. All supervisors have e-mail accounts.
2. All users have the manager field populated (or can have it populated
prior to running this script).
3. All users are in the same site.
4. All users are in the same NT domain.
5. All supervisors have a web browser and access to an intranet server.
6. The G: drive is specified as their home space in user manager.
7. Their C: drive is accessable from the network using an account with the
appropriate permissions.
8. Their CD burning software isn't complete crap and one can pass it a job
of some kind via command line.
9. Ex 5.5
I'd personally probably tackle this issue in Perl, but vbscript is probably
better documented by Microsoft on a number of the tasks required for
completing the entire process. I guess one could use Delphi or WSH too....
Here are the manditory major tasks to be accomplished as I see them (did I
miss any?)
1. Determine the user to be terminated.
2. Disable the user's NT account.
3. Grant the primary NT account of the Manger's mailbox and the Admins group
owner rights to the terminated employee's mailbox.
4. Remove the Mailbox from any Exchange DLs for which it is a member.
5. Notify the manager and have them add the mailbox to the profile.
6. Once manager has added mailbox to profile, hide mailbox from GAL.
6.5 Make administrative note of pending deletion.
7. Run exmerge against mailbox.
8. Copy G: drive c: drive and pst files to CD burner machine.
9. Zip files (I hope).
10. Burn baby burn.
10.5 Interoffice to supervisor.
11. 90 days out.. Notify supervisor account is to be deleted.
12. Determine ownership of archived data.
13. Delete mailbox.
14. Delete NT account.
Comments? Suggestions? Problems?
*************************************************************
Chris Scharff [EMAIL PROTECTED] www.swinc.com
Simpler-Webb, Inc. Austin, TX +1-512-322-0071
The surest way to corrupt a youth is to instruct him to
hold in higher esteem those who think alike than those who
think differently. -- Nietzsche
*************************************************************
> -----Original Message-----
> From: missy koslosky [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 21, 2001 6:58 PM
> To: Exchange Discussions
> Subject: Re: An Academic Exercise (was: RE: Minions (was RE:
> Undelete command) )
>
>
> I'll play. :)
>
> Missy
> ----- Original Message -----
> From: "Scharff, Chris" <[EMAIL PROTECTED]>
> To: "Exchange Discussions" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 21, 2001 4:09 PM
> Subject: An Academic Exercise (was: RE: Minions (was RE:
> Undelete command) )
>
>
> So I was wondering if it wouldn't be an interesting academic
> exercise for
> the group to try and automate Mich�le's process for deleting
> users accounts
> after they have been terminated.
>
> I'm certainly not interested in trying to write the whole
> thing for her...
> but I thought it might be interesting for us to identify the
> critical steps
> in the current process, identify how they could be automated
> and how one
> might go about doing it. The goal wouldn't necessarily be to
> come up with a
> working script, but to discuss the ways one might automate it
> and toss in a
> code sample or two along the way.
>
> Seems like much more fun than answering FAQs with "FAQ".
_________________________________________________________________
List posting FAQ: http://www.swinc.com/resource/exch_faq.htm
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin: [EMAIL PROTECTED]
_________________________________________________________________
List posting FAQ: http://www.swinc.com/resource/exch_faq.htm
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin: [EMAIL PROTECTED]