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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour