Skip to Main Content
Microsoft Exchange 2010 PowerShell Cookbook
book

Microsoft Exchange 2010 PowerShell Cookbook

by Mike Pfeiffer
July 2011
Intermediate to advanced content levelIntermediate to advanced
480 pages
11h 54m
English
Packt Publishing
Content preview from Microsoft Exchange 2010 PowerShell Cookbook

Performing maintenance on Database Availability Group members

When it comes to performing maintenance on servers that are part of a Database Availability Group (DAG), you'll need to move any active databases off to another member in the DAG. This will allow you to install patches or take the server down for hardware repairs or upgrades without affecting database availability. This recipe will show you how to use some of the built-in PowerShell scripts installed by Exchange 2010 SP1 that can be used to place a server in and out of maintenance mode.

How to do it...

  1. First, switch to the $exscripts directory:
    Set-Location $exscripts
  2. Next, run the StartDagServerMaintenance.ps1 script and specify the server name that should be put into maintenance mode: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition - Second Edition

Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition - Second Edition

Jonas Andersson, Mike Pfeiffer

Publisher Resources

ISBN: 9781849682466Other