Please let others know how useful this tip is via the rating scale at the end of it. Do you have a useful Exchange or Outlook tip, timesaver or workaround to share? Submit it to our tip contest and you could win

    Requires Free Membership to View

a prize.

Are you frustrated by the lack of a simple command-line tool to perform basic Exchange administration tasks? Introducing ExchMbx -- a free third-party program that offers command-line functionality, and can be run through a batch job or invoked as needed from a script or event sink. ExchMbx supports creating and moving mailboxes, mail-enabling objects (users, contacts, or groups), and forcibly clearing Exchange attributes on an object (i.e., mail-disabling an object).

Because ExchMbx works directly on objects, the program also features several useful command switches that limit the program's ability to do damage. For instance: safety allows you to specify how many objects to modify at once -- the default being 10; the –unsafe switch turns this off completely; –upto allows the program to make up to X successful changes to the directory; and –cont forces the program to continue processing even if errors are encountered with a particular object.

The tool also allows a user to set the default Internet encoding format for mail-enabled object (normally inherited from the Internet Mail Service Settings, but you can force any setting needed), and the ability to show total elapsed time for the entire set of actions performed.

Please note that because of the way permissions work in Exchange, certain functions may not always conclude successfully, so you may need to run the program in the context of another user to accomplish some things. This goes doubly for when the program is invoked from a batch script. I've written elsewhere about doing this through a batch file. (See this tip for more details, including a link to a utility called CPAU, also by the author of ExchMbx.)

ExchMbx runs on Windows 2000, XP and Windows Server 2003. Exchange Tools need to be installed on the same machine as ExchMbx.

You can download ExchMbx here: http://www.joeware.net/win/free/tools/exchmbx.htm.

About the author: Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter and a regular contributor to SearchExchange.com.


Do you have comments on this tip? Let us know.

This was first published in November 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.