Skip to Main Content
Exchange Server Cookbook
book

Exchange Server Cookbook

by Paul Robichaux, Missy Koslosky, Devin L. Ganger
June 2005
Intermediate to advanced content levelIntermediate to advanced
464 pages
13h 2m
English
O'Reilly Media, Inc.
Content preview from Exchange Server Cookbook

9.9. Finding All Replicas of a Public Folder

Problem

You want to know where all the replicas for a given public folder are.

Solution

Using a graphical user interface

  1. Launch the Exchange System Manager (Exchange System Manager.msc).

  2. In the left pane, expand the appropriate Administrative Groups container.

  3. Expand the Folders node; find the target folder, right-click it, and select Properties.

  4. Switch to the Replication tab.

  5. Review the list of replicas in the Replicate content to those in the public stores list.

Using a command-line interface

Use the LISTREPLICAS switch for PFAdmin, which also requires the name of the profile and the name of the folder (or ALL for all folders). Here's an example (use pfadmin listreplicas ? for more detailed help):

> pfadmin exAdmin LISTREPLICAS "Book Suggestions"

Using VBScript

' This code retrieves the list of all replicas for a specified folder
' ------ SCRIPT CONFIGURATION ------
 strComputerName = "<serverName>"        'e.g., "cyclone"
 strPubFolderPath = "<folderPath>" 'e.g., "/Book Suggestions/" ' ------ END CONFIGURATION --------- strE2K3WMIQuery = "winmgmts://" & strComputerName &_ "/root/MicrosoftExchangeV2" ' query for the specific folder we want Set wmiService = GetObject(strE2K3WMIQuery) query = "Select * From Exchange_PublicFolder" & " Where Path='" & _ strPubFolderPath & "'" Set targetFolder = wmiService.ExecQuery(query) ' list all of its replicas For Each folder In targetFolder replicaCount = UBound(folder.ReplicaList)+1 WScript.Echo "Folder " & folder.Name ...
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 2010: Best Practices

Microsoft® Exchange Server 2010: Best Practices

Siegfried Jagott, Joel Stidley
Microsoft® Exchange Server 2003 Unleashed

Microsoft® Exchange Server 2003 Unleashed

Rand H. Morimoto - MCSE, Joe R. Coca, CISSP Kenton Gardinier - MCSE MCSA, MCSA Michael Noel - MCSE+I
Microsoft® Exchange Server 2013 Unleashed

Microsoft® Exchange Server 2013 Unleashed

Rand Morimoto, Michael Noel, Guy Yardeni, Chris Amaris, Andrew Abbate

Publisher Resources

ISBN: 0596007175Errata Page