
Chapter 13: Single Copy Clusters
383
This script may seem a little excessive at first, but it takes PowerShell, calls the Exchange snap - in for
PowerShell, calls an Exchange cmdlet, and then uses part of the native .NET functionality to manipulate
the variable into something useful!
Thus far this chapter has shown how to use PowerShell to create, format, and present disks to the
servers and to create the necessary connections. From there an automated installation and configuration
of the MSCS cluster was performed, which then allowed for a scripted install of the Mailbox role in a
clustered mailbox configuration. After the Mailbox role was installed, further PowerShelling provided
the rest of the Exchange resource configuration. A manual deployment of a two - node cluster can take
several hours and is prone to error if the administrator is not diligent in making sure that both systems
are configured properly. However, by using PowerShell the deployment time is cut considerably, system
configuration is reduced in complexity, and the scripts can be reused for future deployments or for
disaster testing.
Resource Management
Exchange Server 2007 allows Exchange administrators the ability to control cluster resources, natively,
from PowerShell. The cluster cmdlets perform the same essential functions as the
cluster.exe
command, but are simpler to use, have a streamlined appearance, ...