Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Start-SPProfileServiceRecoveryReplication

Published: December 11, 2012

Applies to:  SharePoint Server 2013 

Recovers user profiles that failed to replicate during full profile replication. This cmdlet will copy and overwrite all user profile properties in the destination User Profile Service application for the specified profiles.

Start-SPProfileServiceRecoveryReplication -Destination <String> -FileName <String> -Source <String> [-DoSocialReplication <SwitchParameter>] [-EnableInstrumentation <SwitchParameter>] [-MaxNumberOfThreads <Int32>] [-Properties <String[]>] [-Timeout <Int32>]

Parameters

Parameter Required Type Description

Destination

Required

System.String

Specifies the URL of the My Site Host to where the user profiles are replicated, for example, http://euro.contoso.com:8081/my.

FileName

Required

System.String

Specifies the location of the accounts file. This file can be either the failed account file created during an instance of full replication or you can manually create a .txt or .rcv file that contains one user profile account per line, for example:Domain1\User1Domain1\User2Domain2\User1Domain2\User2Domain2\User3.

Source

Required

System.String

Specifies the URL of the My Site Host from where the user profiles are retrieved, for example, http://hq.contoso.com:8081/my.

DoSocialReplication

Optional

System.Management.Automation.SwitchParameter

Enables replication of social tags, notes, and ratings. Only use this parameter when both the source User Profile service application and the destination User Profile service application are SharePoint Server 2013-based.

EnableInstrumentation

Optional

System.Management.Automation.SwitchParameter

Enables detailed logging by using the instrumentation log.

Properties

Optional

System.String[]

Specifies which user profile properties to replicate, for example, "FirstName" or "AboutMe". You can also use the Get-SPProfilePropertyCollection cmdlet to return a collection of all user profile properties. The default value returns all user profile properties.

MaxNumberOfThreads

Optional

System.Int32

Specifies the maximum number of replication threads allowed on the server that is running the User Profile Replication Engine. The value range is between 1 and 100. The default value is 25. The actual number of running threads will be decided dynamically by the User Profile Replication Engine.

Timeout

Optional

System.Int32

Specifies the amount of time the User Profile Replication Engine should wait for a response from the Web service before timing out. The default is the Web service timeout.

Detailed Description

The Start-SPProfileServiceRecoveryReplication cmdlet replicates user profile information and social data—including social tags, notes, and ratings—for user profiles that failed to replicate during full profile replication. The list of these user profile accounts is saved to an accounts file that is created during full profile replication. The profile information and social data are replicated from the source User Profile service application to the destination User Profile service application.

Input Types

Return Types

----------Example----------

Start-SPProfileServiceRecoveryReplication -source http://hq.contoso.com:8081 -destination http://euro.contoso.com:8081 -EnableInstrumentation -FileName "d:\accounts.txt"

This example retrieves a list of user profiles that failed to replicate during incremental profile replication and replicates the user profile information and social data from the source User Profile service application to the destination User Profile service application.

Change History

Date Description

December 11, 2012

Initial publication

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.