Exchange & Outlook UPDATE, Exchange Edition--Getting Started with Monad--February 9, 2006

Subscribe to Windows IT Pro:


Don't miss out! Make sure your copy of Exchange and Outlook UPDATE isn't mistakenly blocked by antispam software. Add [email protected] to your list of allowed senders and contacts.


This email newsletter comes to you free and is supported by the following advertisers, which offer products and services in which you might be interested. Please take a moment to visit these advertisers' Web sites and show your support for Exchange & Outlook UPDATE.

Esker Software



1. Commentary
- Getting Started with Monad

2. Peer to Peer
- Featured Thread: Antivirus and Antispam for Exchange
- Outlook Tip: Displaying an Image in an Appointment

3. New and Improved
- Protect Against Phishing Attacks

==== Sponsor: Esker Software ====

Align compliance with business efficiency, and learn how fax-document management plays a role in your strategy.


Editor's note: Share Your Exchange Discoveries and Get $100
Share your Exchange Server and Outlook discoveries, comments, or problems and solutions for use in the Exchange & Outlook Administrator print newsletter's Reader to Reader column. Email your contributions (500 words or less) to [email protected] We edit submissions for style, grammar, and length. If we print your submission, you'll get $100.


==== 1. Commentary: Getting Started with Monad ====
by Paul Robichaux, Exchange Editor, [email protected]

Before there were GUIs, administrator interaction with computers was handled solely through text-based command-line interfaces. For years, Microsoft was pummeled by UNIX administrators who insisted that without a "real" scripting language, Windows was just a toy. Microsoft responded over the years by beefing up the built-in Windows command interpreter and building the Windows Scripting Host (WSH), a core system component that lets you write scripts in VBScript, Perl, Python, or other languages. When you couple WSH with the Windows Management Instrumentation (WMI) interfaces, you can do a lot of useful work from scripts.

However, WSH is missing a key feature of UNIX-style shell and scripting languages: composition, or the ability to create a complex command out of several smaller commands. This simple example

find . -print | xargs grep "onad" | wc -l

tells the UNIX command shell to find all the files in the current directory and its children, search them for the string "onad", and return a count of the number of files found. The find, grep, and wc commands each do one thing, but combining them with the pipe character (|) operator makes it easy to pass the output of one command to another. UNIX tools are generally designed to be small and limited in scope, so by stringing them together you can accomplish complex tasks fairly easily. WSH and the Windows command-line tools Microsoft gives us now don't really provide this same capability. As a result, it's hard to do things from the command line without writing an entire interactive script.

I've written before about Microsoft's new scripting environment, code-named Monad, but after using it for a while I'm happy to report that it solves this problem very well. Monad uses regular syntax (commands have a verb followed by an object--e.g., get-mailbox or get-WMIobject). In addition, it passes structured data objects, including attributes, between commands instead of just passing text. That means that you can use a rich set of Monad features to parse, display, and filter the results of commands. If you've used Joe Richard's (joeware-- ) AdFind and ExchMbx commands, you'll understand what it's like to be able to use command-line tools in this manner.

How can you get started? Microsoft hasn't yet shipped a public beta of the Exchange extensions for Monad. However, you can download the beta version of the Windows Monad shell from Microsoft's Web site and get started playing around with it. The Monad team blog ( ) has some good introductory material, although you have to dig for it a bit.

For more depth, I recommend Andy Oakley's book from O'Reilly Media, titled (what else?) "Monad." It's not a long book, but it's a good one, with plenty of examples.

After you have experience using the Monad shell, there's a lot of neat stuff you can do. For example, Exchange MVP Glen Scales shows how to use the Windows Monad shell to interrogate Exchange objects with WMI at . You can also use Monad scripts to create and modify any object that's accessible through the Microsoft .NET Framework, including windows, menus, and tons of other stuff. Monad offers enough customization and tinkering potential to keep you busy until Microsoft releases the first beta of the Exchange version, at which point you'll be ready to take full advantage of it.

In closing, I want to say "au revoir" to my friend and editor, Lisa Pere. She's leaving Windows IT Pro to take a new job with a literary agency, and I'll miss her. Best of luck, Lisa!


==== Sponsor: Demartek ====

Are you looking for a vendor-neutral comparison of email archiving software products? Demartek provides vendor-neutral product comparison research reports. The online email archiving product comparison database includes more than 110 feature criteria for each of the products in the email archiving comparison, and is updated regularly. The features compared include product architecture and scalability, message searching, indexing, purging, email surveillance, language support, pricing and more.


==== Events and Resources ====
(A complete Web and live events directory brought to you by Windows IT Pro: )

Windows Connections Conference, April 9-12, 2006
Don't miss the essential Windows technology conference. Register early and save!

WHITE PAPER: Evaluate the costs of losing information and learn what real-time information management means and how to accomplish it in your business.

Industry expert Paul Robichaux discusses how availability is a function of unplanned downtime only, helping you achieve a system available 99.9% of the time.

Find out or what policies help or hurt in protecting your company's assets and data. View the on-demand seminar today!

Enabling Secure Collaboration in the Workplace
Join Microsoft and Sybari experts and learn how to help foster collaboration among employees and partners while reducing security risks and enforcing corporate compliance policies.

==== Featured White Paper ====

Learn how storage has been redesigned to provide administrators with the tools to manage the storage demands of today and the future. Defer storage purchases, separate backup data from protected data and more!

~~~~ Hot Spot ~~~~

Get 100 Exchange experts on a free iPod nano
Not enough time, training, or manpower to effectively manage your business-critical email system? Zenprise SMB automatically anticipates email problems, proactively determines the underlying cause, and offers step-by-step resolutions. Work smarter, not harder - get Zenprise SMB today!

Purchase by Feb 28, 2006 for your free iPod nano.

==== 2. Peer to Peer ====

What Do You Think?
Don't forget to sound off in our Instant Poll. This month's question is "Which version of Exchange Server are you using?"

Featured Thread: Antivirus and Antispam for Exchange
A forum reader wants recommendations for an antivirus and antispam product for Exchange. Offer your suggestions at
Outlook Tip: Displaying an Image in an Appointment
by Sue Mosher, [email protected]
In Microsoft Office Outlook 2003, how can I insert a graphic into an appointment so that it's part of the body of the appointment, not an attachment?

Find the answer (and links to more great tips) at

==== 3. New and Improved ==== by Blake Eno, [email protected]

Protect Against Phishing Attacks
GFI announced GFI MailEssentials 12, antispam software for Exchange/SMTP that includes antiphishing capabilities. MailEssentials features Phishing URI Realtime Blocklist (PURBL) technology, which extracts links from the email message body and checks them against a list of well-known phishing sites. In addition, MailEssentials scans your email and tags the message as spam if phishing keywords are found. MailEssentials reduces the burden on the Exchange Administrator as well because the software works at the server level, eliminating installations on every desktop. MailEssentails also features server-based Bayesian filtering technology, which automatically adapts to your organization's email environment. A 30-day trial is available, and pricing for GFI MailEssentails 12 starts at $450 for 25 mailboxes. For more information, contact GFI at 919-379-3397 or 888-243-4329.


~~~~ Contact Us ~~~~

About the newsletter -- [email protected] About technical questions -- About product news -- [email protected] About your subscription -- [email protected] About sponsoring UPDATE -- [email protected]


This email newsletter is brought to you by Exchange & Outlook Administrator, the leading publication for IT professionals managing, securing, optimizing, and migrating Exchange and Outlook. Subscribe today!

Manage Your Account
You are subscribed as %%$email%%

You are receiving this email message because you subscribed to this newsletter on our Web site. To unsubscribe, click the unsubscribe link:

View the Windows IT Pro Privacy policy at Windows IT Pro a division of Penton Media Inc. 221 East 29th Street, Loveland, CO 80538, Attention: Customer Service Department Copyright 2006, Penton Media, Inc. All Rights Reserved.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.