Redigera

Dela via


Sync-CsUserData

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

Syntax

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

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.

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

Examples

-------------------------- Example 1 --------------------------

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

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

Parameters

-LocalStore

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

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

-PoolFqdn

Fully qualified domain name of the primary Skype for Business Server pool. For example:

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

Type:Fqdn
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

-RoutingGroup

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

-Target

Synchronizes data with the preassigned backup pool.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

Inputs

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

Outputs

None.