Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Update-CsUserData

Skype for Business Server 2015
 

Topic Last Modified: 2015-03-09

Uses previously-exported user information to update Skype for Business Server 2015 user data. This cmdlet was introduced in Lync Server 2013.

Update-CsUserData -FileName <String> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-RoutingGroupFilter <String>] [-TargetPoolFqdn <Fqdn>] [-TestMode <SwitchParameter>] [-ThreadCount <Int32>] [-UserFileFilter <String>] [-UserFilter <String>] [-WhatIf [<SwitchParameter>]]

The command shown in Example 1 updates Skype for Business Server 2015 user data based on information stored in the file C:\Logs\ExportedUserData.zip.

Update-CsUserData -Filename "C:\Logs\ExportedUserData.zip"

In Example 2, user data is updated for a single user: the user with the SIP address kenmyer@litwareinc.com. This is done by including the UserFilter parameter followed by the user’s SIP address (minus the sip: prefix).

Update-CsUserData -Filename "C:\Logs\ExportedUserData.zip" -UserFilter "kenmyer@litwareinc.com"

The Update-CsUserData cmdlet enables administrators to update user data for a specified user or set of users. (Note that this data must have previously been exported by using the Export-CsUserData cmdlet.) This updating is typically done in order to restore lost data to a logged-on user.

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

 

Parameter Required Type Description

FileName

Required

System.String

Full path to the .ZIP file or .XML file containing the user data to be updated. For example:

-FileName "C:\Data\Lync2010.zip"

Confirm

Optional

System.Management.Automation.SwitchParameter

Prompts you for confirmation before executing the command.

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

Enables administrators to specify the FQDN of the domain controller to be used when running the Update-CsUserData cmdlet. If not specified, the cmdlet will use the first available domain controller.

Force

Optional

System.Management.Automation.SwitchParameter

Suppresses the display of any non-fatal error message that might occur when running the command.

RoutingGroupFilter

Optional

System.String

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

TargetPoolFqdn

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

Registrar pool containing the user accounts to be updated.

TestMode

Optional

System.Management.Automation.SwitchParameter

When included in a command, Update-CsUserData will verify that the data can be updated, but will not actually update that data.

ThreadCount

Optional

System.Int32

Number of threads that can be devoted to the update task.

UserFileFilter

Optional

System.String

Full path to a text file containing a list of user URIs for whom data should be exported.

UserFilter

Optional

System.String

Enables you to update data for a single user. That user specified by using his or her SIP address, minus the sip: prefix. For example:

-UserFilter "kenmyer@litwareinc.com"

WhatIf

Optional

System.Management.Automation.SwitchParameter

Describes what would happen if you executed the command without actually executing the command.

None. The Update-CsUserData cmdlet does not accept pipelined input.

The Update-CsUserData cmdlet updates Skype for Business Server 2015 user information.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft