Any suggestions? Export (0) Print
Expand All


Published: March 30, 2012

Updated: September 15, 2012

Applies To: Windows 8, Windows Server 2012


Gets the System-locale setting (that is, the language for non-Unicode programs) for the current computer.


Get-WinSystemLocale [ <CommonParameters>]

Detailed Description

The Get-WinSystemLocale cmdlet returns the current value of the System-locale setting. The System-locale setting determines which code pages (ANSI, DOS, and Macintosh) the system uses by default.



This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.


The output type is the type of the objects that the cmdlet emits.

  • CultureInfo

    An object that identifies the current computer's system locale. For more information about the CultureInfo object, see CultureInfo Class.


Example 1

This command gets and displays the System-locale setting for the current computer.

PS C:\> GET-WinSystemLocale
LCID             Name             DisplayName                                                                        
----             ----             -----------                                                                        
1033             en-US            English (United States) 



PS C:\> 

Related topics

© 2016 Microsoft