Free Power Tools Brochure
Get Mark Minasi's
17-page guide today!



      

advertisement

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

December 02, 2004 10:02 PM

ExchMbx: Swiss Army Knife for Exchange

Rating: (0)
Windows IT Pro
InstantDoc ID #44666

Everywhere I go (except on airplanes), I carry a Swiss Army knife. Over the years, my knife has helped me fix Marine Corps helicopters, open countless FedEx boxes, pull more than a few splinters, and hammer on the occasional stubborn computer. I can't imagine how I got along without this wonderful tool. In the same vein, I wonder how I ever managed Exchange Server systems without ExchMbx, a free command-line tool from joeware ( http://www.joeware.net/win/free/tools/exchmbx.htm ).

ExchMbx provides a great deal of handy functionality for creating and managing mailboxes. The tool's five primary functions are as follows:

- To create one or more mailboxes in a specified mailbox database
- To move specified mailboxes to a specified mailbox database
- To mail-enable users, groups, and contacts
- To remove all Exchange attributes from a specified set of objects
- To set the Internet mail encoding format to be used for a mail-enabled object

This functionality would be useful and valuable all by itself because most existing alternatives require that you write your own scripts or adapt the sample scripts posted on Microsoft TechNet. But wait! There's more! ExchMbx features a number of nifty touches that show careful attention to ease of use. For example, you can specify the mailbox database in the URL format that Exchange uses natively (e.g., cn=Mailbox Database,cn=First Storage Group,cn=InformationStore,cn=Exchangeserver,cn=Servers,cn=First Administrative Group) or as a simple triplet of server, storage group, and database (e.g., "Batman:SG1:Users A-L"). This option makes it much easier to get the right mailbox database without making frustrating typos.

Another example: You can easily pipe lists of distinguished names (DNs) to ExchMbx by using standard Windows input mechanisms. You can create a thousand mailboxes, no problem. For moving, mail-enabling, or clearing attributes of objects, you can specify whether you want to process all objects (using the -unsafe parameter), the first N objects (using -safety N), or the first N objects (using -upto N). These options make it easy to accomplish such tasks as moving the first 100 mailboxes that can be moved, as in the command

exchmbx –move MDB –upto 100

or stripping out all Exchange attributes, as in the command

exchmbx –clear –unsafe If you combine ExchMbx with joeware's AdFind utility, you can easily run ExchMbx on the result of Active Directory (AD) queries. Doing so lets you quickly perform tasks that would be difficult or time-consuming if you were to use only native Windows GUI tools. For example, you can easily find a user by name and mail-enable the associated object, or you can move all the mailboxes for users in a specified office from one server to another.

Joeware has some other useful tools, but I'll leave them for you to discover. In the meantime, remember that like a pocketknife, these tools can be dangerous if misused--but their power and utility outweighs the danger as long as you're careful.

ARTICLE TOOLS

Add a Comment

There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

Related Resources

Overcoming Exchange Failures
A White Paper by BakBone
Keep Your Email Flowing
A Podcast by AppAssure Software
More

Windows XP Share Privileges

I've two PCs, ABC and XYZ, both are running windows xp Pro, and both have simple file sharing disabled. And I want to share a folder on ABC, to be ...222-96225

advertisement

GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS

Podcasts

To successfully implement virtual desktops, IT administrators must carefully match user requirements to specific desktop technologies. Listen to this podcast to learn what you need to keep in mind when formulating your approach to desktop virtualization.

Downloads

PacketTrap IT is a comprehensive and affordable network management and application monitoring solution that solves problems associated with bandwidth, network and application performance, and connectivity. Gain insight into your network - try PacketTrapIT free for 21 days!

Web Seminars

Aside from its employees, data is an organization’s most important resource. Join Windows technical specialist and 11-time MVP John Savill to learn the best practices for managing data using features in Windows Server.
View this web seminar on demand!

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.