Set-WinSystemLocale
Set-WinSystemLocale
Sets the system locale (the language for non-Unicode programs) for the current computer.
Sintaxis
Parameter Set: Default
Set-WinSystemLocale [-SystemLocale] <CultureInfo> [ <CommonParameters>]
Descripción detallada
The System-locale setting determines which code pages (ANSI, DOS, and Macintosh) 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.
Parámetros
-SystemLocale<CultureInfo>
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByValue) |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al 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.
Ejemplos
Example 1
This command sets the system locale to Japanese (Japan).
PS C:\> Set-WinSystemLocale ja-JP