Hi, folks
I have a script that creates a user account, including a prompt for whether the account should have an Exchange 2003 mailbox (and if yes, it creates one). It works a treat.
Now we're just about ready to decommission Exchange 2003 having installed Exchange 2007. Currently though, we create the user account and mailbox, logon as the user, configure Outlook and send test mails to initialise the mailbox, then log off the user account and move the mailbox to the Exchange 2007 server and appropriate Mailbox store (which split groups of surname by first initial).
Clearly this mix of automatic/manual process will fail when we decommission the last Exchange 2003 server, so I've finally got round to looking in to editing the code to point to the new server (well, cluster) and adding code to select the right mailbox store.
But then, as I investigate through The Portal Of Google, I find rumours than you can't just use an LDAP query/command to create Exchange 2007 mailboxes like you could before with Exchange 2003 but instead you must use Powershell commands.
Frankly, EEK!
Is this true?
Am I screwed?
Can you call Powershell commands as external commands with somehting like CMD /C?
JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, and so on)[/small]
I have a script that creates a user account, including a prompt for whether the account should have an Exchange 2003 mailbox (and if yes, it creates one). It works a treat.
Now we're just about ready to decommission Exchange 2003 having installed Exchange 2007. Currently though, we create the user account and mailbox, logon as the user, configure Outlook and send test mails to initialise the mailbox, then log off the user account and move the mailbox to the Exchange 2007 server and appropriate Mailbox store (which split groups of surname by first initial).
Clearly this mix of automatic/manual process will fail when we decommission the last Exchange 2003 server, so I've finally got round to looking in to editing the code to point to the new server (well, cluster) and adding code to select the right mailbox store.
But then, as I investigate through The Portal Of Google, I find rumours than you can't just use an LDAP query/command to create Exchange 2007 mailboxes like you could before with Exchange 2003 but instead you must use Powershell commands.
Frankly, EEK!
Is this true?
Am I screwed?
Can you call Powershell commands as external commands with somehting like CMD /C?
JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, and so on)[/small]