立即与支持人员聊天
与支持团队交流

Replicator 7.4 - Command Line Reference Guide

Introduction Installing Metalogix Replicator Configuring Metalogix Replicator
Enable Web Applications for Replication Connect Web Applications Map SharePoint Content for Replication
Add Replicator List Mappings Add Replicator Map Family Remove Replicator List Mappings Remove Replicator Map Family Disable Replicator Alert Replication Disable Replicator Map Disable Replicator Map Family Suspend Replicator Map Family Resume Replicator Map Family Enable Replicator Alert Replication Enable Replicator Map Enable Replicator Map Family Write Replicator Map Write Replicator Map Families Suspend Replicator Map Families Write Replicator Paused Map Families Resume Replicator Map Families Set Replicator Map Family Write Replicator Maps Set Replicator Map Inheritance Update Replicator Map Update Replicator Map Connection Update Replicator Map Family Update Replicator Map Lists
Get Replicator Objects Commands
Managing Metalogix Replicator
Replicate SharePoint Content Monitor Replication Networks Maintain Replication Networks
Register Offline Activation Add Replicator Supported Web Part Add Replicator Supported WSS Versions Set Replicator Alerts Remove Replicator Orphaned Config Remove Replicator Orphaned Disk Objects Clear Replicator Web Application Configuration Copy Replicator Alerts Remove Replicator Supported Web Part Export Replicator Settings Import Replicator Settings Export Replicator KPI Settings Import Replicator KPI Settings Export Replicator KPI Results Import Replicator KPI Results Clear Replicator Map Queue Move Replicator Alerts Clear Replicator Queue All Clear Replicator Queue Completed Clear Replicator Queue Completed or Error Reapply Replicator Error Queue Items Install-ReplicatorSolution Test Replicator Consistency Start Replicator Maintenance Update Replicator Account Write Replicator Features Update Replicator Settings File
Managing Administrative Farm Settings
Appendix – Repadm equivalents for PowerShell commands About

PowerShell Code Example

Compare-ReplicatorData -URL "http://londonoffice" -MapFamily "Portal Map Family" -IncludeChildren -ListTitle "Calendar"

Returns

None

Arguments

[-URL] <String>
[[-IncludeChildren] [<SwitchParameter>]]
-Type <String>
[-QueueEvents [<SwitchParameter>]]
[-ShowRemoteItems [<SwitchParameter>]]
[-UseCachedData [<SwitchParameter>]]
[-ListTitle <String>]
[-ListFolder <String>]
[-OnlySpecifiedFolder [<SwitchParameter>]]
[-Connection <String>]
[-MapFamily <String>]
[-OnlyKeys [<SwitchParameter>]]
[-ForceMatchMode [<SwitchParameter>]]
[-QueueSetName <String>]
[-IgnoreConflicts [<SwitchParameter>]]

Detailed Examples

To better understand Replication Reports, we suggest using the "-IncludeChildren" and "-ListTitle" arguments the first time you generate a report. This limits the scope of the command, making it easier to understand its results.

The following shows a sample Replication Report run on the Calendar list from http://londonoffice. We see that the "London Branch Party" is missing from the Corporate Portal (identified by the connection name).

Compare-ReplicatorData -URL "http://londonoffice"
-mapFamily "Portal Map Family" -includeChildren -listTitle "Calendar"

Operation started at 02/27/2013 4:17:59 PM.

Items marked as *** are not in sync with the Target Web Application.

Items marked as +++ only exist locally.

Items marked as --- do not exist locally.

       Replication Map: Portal Map Family - / - Web Site

               Connection: London to Corporate

                Calendar

                *** London Branch Party

Operation completed at 02/27/2013 4:18:19 PM.

The following example is run on a root site with two subsites. The report identifies that the /hr subsite is missing an announcement, two documents, and a folder.

Compare-ReplicatoData -URL http://corporateoffice
-mapFamily "Portal Map Family" -includeChildren

Operation started at 02/27/2013 10:27:30 AM.

Items marked as *** are not in sync with the Target Web Application.

Items marked as +++ only exist locally.

Items marked as --- do not exist locally.

       Replication Map: Portal Map Family - / - Web Site

               Connection: Corporate to London

                Calendar

                Shared Documents

       Replication Map: Portal Map Family - /hr - Web Site

               Connection: Corporate to London

                Announcements

                +++ Benefits Registration Deadline

                HR Documents

                +++ /Archives

                +++ Dental Plan.pdf

                +++ Holiday Schedule 2010.pdf

       Replication Map: Portal Map Family - /public - Web Site

               Connection: Corporate to London

               Calendar

                Documents

                Master Page Gallery

Operation completed at 02/27/2013 10:27:54 AM.

In the preceding examples, the reports only show the unsynchronized content. By running the same command and adding the -QueueEvents argument, the command will also queue all items marked with *** and +++ to the target site.

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级