Thanks a lot for your help Art. I think it would have worked that way, unfortunately after reading some of the info on the links you provided, it seems that some things need to be changed on the Exchange server to enable Agent scripts, and I work in a rather large company where they wouldn't react well to me asking them to change settings on a server.
So I'll look for other ways of doing what I want to do.
Thanks again.