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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for