Citation :
LISTING 1: Newmb.bat
REM Write the header information for the mailbox import to a text file
REM with the user's name.
echo Obj-Class,Obj-Container,Last name,First Name,Alias Name,
Directory Name,Display Name,Home-Server,Primary Windows NT Account,
E-mail Addresses,Secondary-Proxy-Addresses> \\adminhost\scripts\%1.txt
REM Write the user-specific data to the mailbox import file just created.
echo Mailbox,Recipients,3%,2%,1%,1%,"%3, %2",EXCHSRVR,DOMAINA\%1,SMTP:%2.%3@niser.com%%X400:c=US;a= ;p=Citadel;o=Chicago;s=%2;g=%3;,SMTP:%1@niser.com >> \\adminhost\scripts\%1.txt
REM Import the mailbox.
admin /i \\adminhost\scripts\%1.txt /d exchsrvr
echo.
echo Completed creating Exchange account for user %1.
|