Edit

Share via


Sync-CsUserData

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

Syntax

Default (Default)

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

Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PoolFqdn

Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

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

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

Parameter properties

Type:Fqdn
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RoutingGroup

Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Target

Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

Synchronizes data with the preassigned backup pool.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

The Sync-CsUserData cmdlet does not accept pipelined output.

Outputs

None