Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-WinSystemLocale

Brian Lich|Last Updated: 3/8/2017

SYNOPSIS

Gets the System-locale setting for the current computer.

SYNTAX

Get-WinSystemLocale [<CommonParameters>]

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.

PARAMETERS

CommonParameters

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

INPUTS

OUTPUTS

CultureInfo

This cmdlet returns the system locale of the current computer. For more information about the CultureInfo object, see CultureInfo Class.

NOTES

Configurable Language and Cultural Settings

Set-WinSystemLocale

© 2017 Microsoft