Skip navigation

Exchange & Outlook UPDATE, Exchange Edition, February 3, 2005

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.

High Availability and DR for Your Exchange Server

Exchange Availability: The Five Fatal Flaws of Traditional Replication Systems


1. Commentary

- Automate Tasks with Scriptomatic

2. Peer to Peer

- Featured Thread: Rebuilding an Exchange Server
- Outlook Tip: Adding the Time to an Outlook Message Printout

3. New and Improved

- Automate Exchange Backup


~~~~ Sponsor: Neverfail ~~~~

High Availability and DR for Your Exchange Server

Downtime is expensive, disruptive--and unacceptable. Neverfail's easy to use high availability software solutions enable companies of all sizes to keep their users continuously connected to working applications, regardless of the cause of the failure. Neverfail's "cluster-class" solution ensures server reliability, application availability and data protection--at a fraction of the cost and complexity of traditional alternatives. Learn how to keep your users connected to your Exchange Server, no matter whether a failure occurs in the operating system, a hardware component, a software application, or somewhere within the network. To view a demo or access a free whitepaper:


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: Automate Tasks with Scriptomatic ====

by Paul Robichaux, Exchange Editor, [email protected]
When I was in college, I had the good fortune to take several computer science classes from one of Georgia Tech's legends, a man named gus Baird (his real name was Augustus, and he insisted that the g in gus be lower case). gus was a terrific instructor. Among the basic principles he taught was a simple one: Hard-working programmers solve problems, but good programmers solve their problems once by writing tools to automate repetitive tasks. The release of the new version of Scriptomatic from the Microsoft Scripting Guys (see ) reminded me of gus's maxim. Scriptomatic automates the process of writing several different kinds of WMI scripts, which has two benefits. For new scripters, it drastically lowers the difficulty of using WMI; for experienced scripters, it provides a simple way to crank out new scripts from a known set of basic scripts.
After you download the Scriptomatic 2.0 from and install it, you'll find that you've suddenly gained the ability to create about multiple types of scripts. The original Scriptomatic could produce only VBScript code, but the new version can write scripts in the popular Perl and Python scripting languages, as well as in JavaScript. Better yet, you can easily target a single script at multiple computers, giving you an easy way to write one script that automatically gathers data from all your Exchange servers. Best of all, you can choose the output format for the script's data. The default dumps data on the command line, but you can also output plain text, HTML, Microsoft Office Excel, or XML format data to a file.
How easy is Scriptomatic to use? Check out the script I created (see below), which displays all the properties of the DSAccess objects exposed by Windows Management Instrumentation (WMI) on my two Exchange servers. Here's how I did it:
1. I launched Scriptomatic from BATMAN.
2. I clicked on the WMI Namespace pull-down menu and selected root\MicrosoftExchangeV2. (The list of namespaces and classes are dynamically generated according to the providers installed on the machine on which you're running Scriptomatic.)
3. From the WMI Class pull-down menu, I selected Exchange_DSAccessDC.
4. In the Target Computers field, I entered SUPERMAN as a computer name.
5. I clicked Update Script, then Run. Total: six clicks and eight keystrokes.
The script itself is easy to read. Admittedly, it doesn't do anything except echo the properties of the selected object, but if you don't already know the names and types of the properties in a particular class, using the script is an easy way to find out. With a little tweaking, you could easily turn this script into a tool that could report back on the current DSAccess configuration for all the servers in an domain, Exchange organization, or organizational unit (OU).
We won't see the scripting improvements promised for Exchange 12 for a while yet. In the meantime, you'll probably be surprised at how much data you can gather (and how many settings and behaviors you can change) using WMI. Scriptomatic and the related resources at the Scripting Center are a great way to get started with Exchange scripting.

On Error Resume Next
Const wbemFlagReturnImmediately = &h10 Const wbemFlagForwardOnly = &h20
arrComputers = Array("BATMAN","superman") For Each strComputer In arrComputers
WScript.Echo WScript.Echo "


WScript.Echo "Computer: " & strComputer WScript.Echo "


Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\MicrosoftExchangeV2")
Set colItems = objWMIService.ExecQuery("SELECT * FROM Exchange_DSAccessDC", "WQL", _
wbemFlagReturnImmediately + wbemFlagForwardOnly)
For Each objItem In colItems
WScript.Echo "Caption: " & objItem.Caption
WScript.Echo "ConfigurationType: " & objItem.ConfigurationType
WScript.Echo "Description: " & objItem.Description
WScript.Echo "InstallDate: " & WMIDateStringToDate(objItem.InstallDate)
WScript.Echo "IsFast: " & objItem.IsFast
WScript.Echo "IsInSync: " & objItem.IsInSync WScript.Echo "IsUp: " & objItem.IsUp
WScript.Echo "LDAPPort: " & objItem.LDAPPort
WScript.Echo "Name: " & objItem.Name WScript.Echo "Status: " & objItem.Status
WScript.Echo "Type: " & objItem.Type

Function WMIDateStringToDate(dtmDate)
WScript.Echo dtm: WMIDateStringToDate = CDate(Mid(dtmDate, 5, 2) & "/" & _
Mid(dtmDate, 7, 2) & "/" & Left(dtmDate, 4) __
& " " & Mid (dtmDate, 9, 2) & ":" & Mid(dtmDate, 11, 2) & ":" & Mid(dtmDate,13, 2))
End Function


~~~~ Sponsor: MessageOne ~~~~

Exchange Availability: The Five Fatal Flaws of Traditional Replication Systems

New regulations, legal liability issues and evolving threats have recently bumped the issue of secure email transmission to the top of IT security managers "To Do" list. In this free white paper you'll learn how simple and cost effective is it to implement TLS-based secure email transmission. Download this whitepaper now to find out how to support the dual goals of securing email transmission while preserving the administrator's ability to filter out spam, viruses and prevent email content policy violations.


==== Events and Resources ====

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

Free eBook! Keeping Your Business Safe from Attack: Passwords and Permission

Master password and permissions basics with our newest free eBook and discover how to prevent most vulnerabilities and exploits with Microsoft's new tools. Firewalls, antivirus software, Intrusion Detection Systems (IDS), and Intrusion Prevention Systems (IPS) can all fail--but a strong permissions and authentication defense is priceless. Get the latest chapter now!

Encryption and Certificate Services eBook

In this new eBook, get the information you need to best deploy Windows Public Key Infrastructure (PKI) services in your IT environment. This free book explains the key components, concepts, and standards behind PKI and provides insight into how to put a Windows-rooted PKI into operation and how to keep it operational. Get the eBook now!

Fax Servers: Integrate. Automate. Communicate

Join industry expert David Chernicoff in this free Web seminar to learn the best way to integrate and automate fax from messaging systems such as Microsoft Exchange Server and Outlook; improve document handling and delivery; and more. You'll receive a complimentary 30-day software evaluation, whitepaper, and Starbuck’s gift card just for attending! Register now.

Configuring Blade Servers for Your Application Needs

In this free on-demand Web seminar, industry guru David Chernicoff details the best use of 1P, 2P, and 4P configurations using single and multiple enclosures, integrating with NAS and SAN storage solutions, and managing the entire enterprise from a single console. Register now!

Is Your Messaging Infrastructure Ready for Tomorrow's Risks?

Join industry security expert Randy Franklin Smith as he reveals the hottest security trends in the industry. Find out how SPIM, spyware, phishing, and malware evolve and become the latest threats for industrial espionage. You'll learn which kinds of attacks companies are reporting in increased numbers and the commonly held misconceptions about Microsoft security patches. You'll also discover how secure content management solutions (SCMs) can help your company defend against business and network integrity threats. Register now and ensure enterprisewide protection!

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

Featured Thread: Rebuilding an Exchange Server

Our forum readers are having a conversation about restoring the database, log files, and other files to a rebuilt Exchange server. To join the discussion, visit

Outlook Tip: Adding the Time to an Outlook Message Printout

by Sue Mosher, [email protected]

Q: How can I add the time to the footer that appears on a printed HTML-format message?

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

==== Announcements ====

(from Windows IT Pro and its partners)

Try a Sample Issue of Exchange & Outlook Administrator!

If you haven't seen Exchange & Outlook Administrator, you're missing out on key information to help you migrate, optimize, administer, backup, recover, and secure Exchange and Outlook. Plus, paid subscribers receive exclusive online library access to every article we've ever published. Order now!

Nominate Yourself or a Friend for the MCP Hall of Fame

Are you a top-notch MCP who deserves to be a part of the first-ever MCP Hall of Fame? Get the fame you deserve by nominating yourself or a peer to become a part of this influential community of certified professionals. You could win a VIP trip to Microsoft and other valuable prizes. Enter now--it's easy.

==== 3. New and Improved ====

by Angie Brew, [email protected]

Automate Exchange Backup

Sonasoft released Sonasafe Point-Click Recovery, a data-protection management console for Exchange Server that simplifies and automates the backup and recovery process and eliminates human error. SonaSafe Point-Click Recovery backs up data on Exchange servers, as well as corresponding domain controller (DC) and Active Directory (AD) files, without stopping services or suspending email access to users. When recovery is required, the product automatically selects the appropriate files and restores the server to its original state. The product features a built-in task scheduler that lets administrators schedule backup and recovery tasks. Point-Click Recovery supports Exchange Server 2003 and Exchange 2000 Server. For pricing, contact Sonasoft at 408-927-6200.

==== Sponsored Link ====

Argent versus MOM 2005

Experts Pick the Best Windows Monitoring Solution;13273616;8214395;i?


~~~~ 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 #EmailAddr#.

You received this email message because you subscribed to this newsletter on our Web site. To unsubscribe, click here:

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 2005, 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.