Click to See Complete Forum and Search --> : Add Exchange account from command line (How?)


Joost Kuin
01-24-2001, 12:26 PM
I'm using NT4 and Exchange 5.5 (sp3)

If I add an user in 'usermanager' it automaticly creates an Exchange account. But I want to add NT domain users from the command-line. For example:
"net user %user% %password% /add /fullname:"%fulln%" /homedir:\%server%\%user%$ /DOMAIN /COMMENT:"%group%"

This doesn't automaticly create an Exchange account (mailbox etc.), as in 'usermanager'.

Does anyone have a (DOS) tool to add an Exchange account from the command-line? So that i can integrate it into my batchfile?

Thanking you in advance, Joost.
PS: Please respond by email.

Scott Vinick
01-24-2001, 05:04 PM
One way would be to install the Administrative Mailbox Agent from the BackOffice Resource Kit. Then use the MAPIsend Tool (also in the BORK) to send email from the command-line to the Admin mailbox. That will also create your NT account too.

-scott



------------
Joost Kuin at 1/24/01 1:26:09 PM

I'm using NT4 and Exchange 5.5 (sp3)

If I add an user in 'usermanager' it automaticly creates an Exchange account. But I want to add NT domain users from the command-line. For example:
"net user %user% %password% /add /fullname:"%fulln%" /homedir:\%server%\%user%$ /DOMAIN /COMMENT:"%group%"

This doesn't automaticly create an Exchange account (mailbox etc.), as in 'usermanager'.

Does anyone have a (DOS) tool to add an Exchange account from the command-line? So that i can integrate it into my batchfile?

Thanking you in advance, Joost.
PS: Please respond by email.