Ok I have a vbscript which creates a user account in AD but I have to open exchange management console to create the mailbox for the user.Is there a powerscript that I can run at the end of the vbscript that will enable the mailbox for that user I just created?
You should be doing everything in PowerShell. No vbscript. You don't mention the version of Exchange, so the method is different. For 2007, you could load the snapin. In 2010, you could use a remote PowerShell session to the Exchange server to create the mailbox.
Let me know which version and we can go from there.
thanks for your reply 58sniper , sorry I forgot to mention which version of exchange I'm running , I'm running exchange 2010.I think running everything in powershell would be great but it would be alot of work to recreate my user creation script in powershell.
Isn't there a way to call powershell at the end of my vbscript using something like this:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.