Set-Culture
Sets the user culture for the current user account.
Syntax
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.
Type: | CultureInfo |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Notes
Changes made by the use of this cmdlet will take effect on subsequent PowerShell sessions.
Related Links
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應