Export (0) Print
Expand All

Get-WinSystemLocale

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-WinSystemLocale

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

Syntax


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.

Parameters

<CommonParameters>

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

Outputs

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.


Examples

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)

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft