O'Reilly logo

Microsoft Exchange Server 2016 PowerShell Cookbook - Fourth Edition by Mike Pfeiffer, Nuno Mota, Jonas Andersson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works...

In the first example, we specified a particular database to check, which returns the status of all copies of that database. In the second example, we used the -DatabaseAvailabilityGroup parameter, which returns the same information, but for all databases that are part of the DAG1 database availability group. Whichever method you use, the following is the information returned for one or more databases:

In this example, we can see that database DB01 has at least two redundant copies (IsAtLeast2RedundantCopy and AtLeast2RedundantCopy) and that there are at least two available copies (IsAtLeast2AvailableCopy and AtLeast2AvailableCopy ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required