Set-WinSystemLocale
Set-WinSystemLocale
Sets the system locale (the language for non-Unicode programs) for the current computer.
Syntax
Parameter Set: Default
Set-WinSystemLocale [-SystemLocale] <CultureInfo> [ <CommonParameters>]
Detailed Description
The Set-WinSysemLocale cmdlet sets the code pages (ANSI, DOS, and Macintosh) that the system uses by default. If you change the system-locale setting, the necessary bitmap font files are installed to support legacy applications in the selected language. Note that because this is a system setting, this can only be changed by a user with Administrator permissions, and changes do not take effect until the computer is restarted.
Parameters
-SystemLocale<CultureInfo>
Specifies the system locale.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
CultureInfo
An object that contains a BCP-47 tag to specify the system locale for the current computer. For more information about the CultureInfo object, see CultureInfo Class.
Examples
Example 1: Set the system locale
This command sets the system locale to Japanese (Japan).
PS C:\> Set-WinSystemLocale -SystemLocale ja-JP
Related topics
Get-WinSystemLocale