Set-Culture
Sets the user culture for the current user account.
Syntax
Default (Default)
Set-Culture
[-CultureInfo] <CultureInfo>
[<CommonParameters>]
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.
Examples
Example 1: Set the culture
PS C:\> Set-Culture -CultureInfo de-DE
This command sets the culture for the current user account to German (Germany).
Parameters
-CultureInfo
Specifies a culture.
Parameter properties
Type: | CultureInfo |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
Value from pipeline: | True |
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.
Notes
Changes made by the use of this cmdlet will take effect on subsequent PowerShell sessions.