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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla