ExchMbx Exchange Command Line Tool
ExchMbx is an Exchange command line tool for doing various exchange tasks. Tasks include: enabling/disabling users, contacts, groups, mailbox enabling/disabling and moving user mailboxes.
ExchMbx needs to be run on a Windows 2000, Windows XP or Windows 2003 Server; these machines also need to have the Exchange System Manager tools installed.
I will show one example of how you can do Exchange command line management using ExchMbx.
Mailbox-enabling an AD user object.
In this example we will mailbox-enable an already existing AD user object. We’re mailbox-enabling an AD user named Testguy01 located in an Organizational Unit (OU) named MY Users. The user belongs to an Active Directory domain named exchangedomain.local (DC=exchangedomain, DC=local), and we are creating the mailbox in Mailbox store store1 in the first storage group on the exchange server.
The mailbox is created with the –cr switch/option.
C:\ExchMbx>exchmbx -b “CN=Testguy01,OU=My User ,OU=Hosted,DC=Exchangedomain,DC=local”
-cr exserver01:”First Storage Group:Mailbox Store (store1)”
Another example: You can easily pipe lists of distinguished names (DNs) to ExchMbx by using windows input mechanisms. You can easily create thousands of mailboxes. Moving mail-enabled mailboxes, clearing attributes can also be easily done with ExchMbx.
Exchmbx –move MDB –upto 100
Will move the first 100 mailboxes. Using these commands lets you quickly perform tasks that would be difficult or time consuming if you were to only use the Windows GUI tools.
PlatForms
• Windows 2000
• Windows Server 2003
• Windows XP
• Tested against Exchange 2000 and Exchange 2003
• Untested on Exchange 2007
* Requires the installation of Exchange Tools on the machine running the executable.
Company:.joeware
Website: http://www.joeware.net/freetools/tools/exchmbx/index.htm



