Get-WinSystemLocale
Gets the System-locale setting for the current computer.
Syntax
Get-WinSystemLocale []
Description
The Get-WinSystemLocale cmdlet returns the current value of the System-locale setting. The System-locale setting determines which code pages, which include ANSI, DOS, and Macintosh, the computer uses by default.
Examples
Example 1: Get the system locale
PS C:\> GET-WinSystemLocale
LCID Name DisplayName
---- ---- -----------
1033 en-US English (United States)
This command gets and displays the System-locale setting for the current computer.
Outputs
CultureInfo
This cmdlet returns the system locale of the current computer. For more information about the CultureInfo object, see CultureInfo Class.
Related Links
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應