Share via


Set-Culture

Applies To: Windows 8, Windows Server 2012

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 (also known as a locale for unmanaged code development) for the current user account. 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>

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: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Examples

Example 1

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

PS C:\> Set-Culture de-DE

GetCulture Class