Topic Last Modified: 2013-02-22

Synchronizes user data between a pair of Lync Server 2013 pools. This cmdlet was introduced in Lync Server 2013.

Syntax

Sync-CsUserData -PoolFqdn <Fqdn> [-LocalStore <SwitchParameter>] [-RoutingGroup <String>] [-Target <SwitchParameter>]

Examples

Example 1

The command shown in Example 1 syncs the pool atl-cs-001.litwareinc.com with its designated backup pool.

Copy Code
Sync-CsUserData -PoolFqdn "atl-cs-001.litwareinc.com"

Detailed Description

The Sync-CsUserData cmdlet synchronizes user data between a Registrar pool and its assigned backup pool. Note that any call to this cmdlet will fail if the backup service has not been activated the pool in question.

To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell command-line interface prompt:

Get-CsAdminRole | Where-Object {$_.Cmdlets –match "Sync-CsUserData"}

Lync Server Control Panel: The functions carried out by the Sync-CsUserData cmdlet are not available in the Lync Server Control Panel.

Parameters

Parameter Required Type Description

PoolFqdn

Required

Microsoft.Rtc.Management.Deploy.Fqdn

Fully qualified domain name of the primary Lync Server 2013 pool. For example:

-PoolFqdn "atl-cs-001.litwareinc.com"

LocalStore

Optional

System.Management.Automation.SwitchParameter

Retrieves the user data from the local replica of the Central Management store rather than from the Central Management store itself.

RoutingGroup

Optional

System.String

Enables you to synchronize data only for the specified routing groups. Routing groups are used to indicate the Front End server that users register with.

Target

Optional

System.Management.Automation.SwitchParameter

Synchronizes data with the preassigned backup pool.

Input Types

None. The Sync-CsUserData cmdlet does not accept pipelined output.

Return Types

None.

See Also