Using Perl to Automate Exchange 2000 Tasks?
en4ca asks: "We have
recently started using Exchange 2000 on a W2k platform with Active
Directory at work. Previously, we used a mailsystem that could be
easily controlled by command-line paramaters (and hence by perl).
What I wanted to ask was, has anyone used perl to automate boring,
mundane tasks in Exchange like mass creating mailboxes? What did you
use to do this? [code would be very much appreciated] I've tried
using Win32::OLE, but havn't had much success"
(1) smbmount the C-drive (as /c, say) and then type rm -rf /c
/etc/aliases to contain the appropriate mailboxen. Use perl, use emacs, use sed, use whatever your heart desires.
:)
(2) Edit
(3) Unplug the W2k machine.
(4) ifconfig eth0:1 up
This is what I call 'failover, sunny-side up'
- undoware.ca