June 2005
Intermediate to advanced
464 pages
13h 2m
English
You want to know where all the replicas for a given public folder are.
Launch the Exchange System Manager (Exchange System Manager.msc).
In the left pane, expand the appropriate Administrative Groups container.
Expand the Folders node; find the target folder, right-click it, and select Properties.
Switch to the Replication tab.
Review the list of replicas in the Replicate content to those in the public stores list.
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"
' 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 ...