Set-Culture

Set-Culture

Sets the user culture for the current user account.

Syntax

Parameter Set: Default
Set-Culture [-CultureInfo] <CultureInfo> [ <CommonParameters>]




Detailed Description

The Set-Culture cmdlet sets a specific culture for the current user account. A culture is known as a locale for unmanaged code development. The information includes the names for the culture, the writing system, the calendar, and formatting for dates and sort strings. For more information, see CultureInfo Class and Configurable Language and Cultural Settings.

Parameters

-CultureInfo<CultureInfo>

Specifies a culture.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

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

Examples

Example 1: Set the culture

This command sets the culture for the current user account to German (Germany).


PS C:\> Set-Culture -CultureInfo de-DE

Related topics

Community Additions

ADD
Show: