Share via


Set-CsUICulture

 

Topic Last Modified: 2012-03-26

Enables you to modify the culture (that is, the language and regional settings) used by the Lync Server Management Shell.

Syntax

Set-CsUICulture -Culture <String> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]

Detailed Description

Although Microsoft Lync Server 2010 is available in multiple languages, the software is not a true Multilingual User Interface (MUI) application. Among other things, this means that the user interface for the Lync Server Management Shell does not change languages any time you change the operating system language. For example, suppose you have installed the U.S. English version of Lync Server 2010 and are also running the Windows operating system under U.S. English. If you change the operating system culture (that is, the language and regional settings) to Danish, the Lync Server Management Shell will not automatically follow suit; instead, the Lync Server Management Shell user interface (including error messages and help text) will remain in U.S. English. If you need to change the culture for the Lync Server Management Shell, you must run the Set-CsUICulture cmdlet.

There are two things to keep in mind when using Set-CsUICulture. First, the cmdlet can only be used to modify Lync Server Management Shell settings on the local computer; Set-CsUICulture cannot change a remote instance of Lync Server Management Shell. This is due to the fact that all the users of a computer share the same instance of the Lync Server Management Shell: allowing a remote user to change the culture would instantly change the culture for any other users of the Lync Server Management Shell, including the local user.

Second, you can only set the language to U.S. English ("en-US") or to the language used when you initially installed Lync Server ("default"). For example, if you originally installed an Italian version of Lync Server, then you have two choices for configuring the UI culture: English or Italian.

Who can run this cmdlet: By default, members of the following groups are authorized to run the Set-CsUICulture cmdlet locally: RTCUniversalUserAdmins, RTCUniversalServerAdmins, RTCUniversalReadOnlyAdmins.

Parameters

Parameter Required Type Description

Culture

Required

String

Enables you to specify the culture used for the Lync Server Management Shell. Set the culture to "en-US" for U.S. English, or set the culture to "default" to use the language used when you originally installed Lync Server 2010.

WhatIf

Optional

Switch Parameter

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

Confirm

Optional

Switch Parameter

Prompts you for confirmation before executing the command.

Input Types

None. Set-CsUICulture does not accept pipelined input.

Return Types

Set-CsUICulture does not return any values or objects. Instead, the cmdlet modifies existing instances of the System.Globalization.CultureInfo class.

Example

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

Set-CsUICulture -Culture "en-US"

The command shown in Example 1 sets the culture for the Lync Server Management Shell to U.S. English. This is done by using the language code en-US.

-------------------------- Example 2 ------------------------

Set-CsUICulture -Culture "default"

The preceding command sets the culture for the Lync Server Management Shell to the default culture value. The default value is the culture setting used when you originally installed Lync Server.

See Also

Other Resources

Get-CsUICulture