Skip to content

Commit 0073d3a

Browse files
authored
Merge branch 'main' into main
2 parents ee3b489 + 2375e4b commit 0073d3a

12 files changed

+923
-0
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
external help file: Microsoft.LanguagePackManagement.Powershell.Commands.dll-Help.xml
3+
Module Name: LanguagePackManagement
4+
online version: https://docs.microsoft.com/powershell/module/languagepackmanagement/get-installedlanguage?view=windowsserver2019-ps
5+
schema: 2.0.0
6+
ms.date: 08/15/2022
7+
title: Get-InstalledLanguage
8+
description: The Get-InstalledLanguage cmdlet lets you see which languages are installed in a running Windows installation
9+
---
10+
11+
# Get-InstalledLanguage
12+
13+
## SYNOPSIS
14+
Returns information about the installed languages on a device.
15+
16+
## SYNTAX
17+
18+
```
19+
Get-InstalledLanguage [-Language] <String> [<CommonParameters>]
20+
```
21+
22+
## DESCRIPTION
23+
Returns a list of the installed languages and related Language features installed on the device.
24+
25+
## EXAMPLES
26+
27+
### Example 1: See what languages are installed on a device
28+
29+
```powershell
30+
Get-InstalledLanguage
31+
```
32+
33+
This command will show all of the language components that are installed on a device.
34+
35+
### Example 2: See which language components are installed for a particular language
36+
37+
```powershell
38+
Get-InstalledLanguage -language en-US
39+
```
40+
41+
This command will show the language features that are installed for the en-US language.
42+
43+
## PARAMETERS
44+
45+
### -Language
46+
47+
Shows the language components that are installed for the specified language.
48+
49+
```yaml
50+
Type: String
51+
Parameter Sets: (All)
52+
Aliases: LanguageId, LanguageTag
53+
54+
Required: False
55+
Position: 0
56+
Default value: None
57+
Accept pipeline input: True (ByValue)
58+
Accept wildcard characters: False
59+
```
60+
61+
### CommonParameters
62+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
63+
64+
## INPUTS
65+
66+
### System.String
67+
68+
## OUTPUTS
69+
70+
### System.Collections.Generic.List<Microsoft.LanguagePackManagement.Powershell.Commands.InstalledLanguage>
71+
72+
## NOTES
73+
74+
## RELATED LINKS
75+
76+
[Set-SystemPreferredUILanguage](Set-SystemPreferredUILanguage.md)
77+
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
external help file: Microsoft.LanguagePackManagement.Powershell.Commands.dll-Help.xml
3+
Module Name: LanguagePackManagement
4+
online version: https://docs.microsoft.com/powershell/module/languagepackmanagement/get-systempreferreduilanguage?view=windowsserver2019-ps
5+
schema: 2.0.0
6+
ms.date: 08/15/2022
7+
title: Get-SystemPreferredUILanguage
8+
description: The Get-SystemPreferredUILanguage cmdlet lets you see which language is set as the System Preferred UI Language in a running Windows installation
9+
---
10+
11+
# Get-SystemPreferredUILanguage
12+
13+
## SYNOPSIS
14+
Returns the current System Preferred Language.
15+
16+
## SYNTAX
17+
18+
```
19+
Get-SystemPreferredUILanguage [<CommonParameters>]
20+
```
21+
22+
## DESCRIPTION
23+
24+
Returns the language that is set as the System Preferred Language
25+
26+
## EXAMPLES
27+
28+
### Example 1
29+
30+
```powershell
31+
Get-SystemPrefferedUILanguage
32+
```
33+
34+
This command returns the language that's currently set as the System Preferred UI Language
35+
36+
## PARAMETERS
37+
38+
### CommonParameters
39+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
40+
41+
## INPUTS
42+
43+
## OUTPUTS
44+
45+
### System.String
46+
47+
## RELATED LINKS
48+
49+
[Set-SystemPreferredUILanguage](set-systempreferreduilanguage.md)
50+
[InstallLanguage](install-language.md)
51+
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
---
2+
external help file: Microsoft.LanguagePackManagement.Powershell.Commands.dll-Help.xml
3+
Module Name: LanguagePackManagement
4+
online version: https://docs.microsoft.com/powershell/module/languagepackmanagement/install-language?view=windowsserver2019-ps
5+
schema: 2.0.0
6+
ms.date: 08/15/2022
7+
title: Install-Language
8+
description: The Install-Language cmdlet lets you add a language to a running Windows installation
9+
---
10+
11+
# Install-Language
12+
13+
## SYNOPSIS
14+
Installs a language onto a device.
15+
16+
## SYNTAX
17+
18+
```
19+
Install-Language [-Language] <String> [-CopyToSettings] [-ExcludeFeatures] [-AsJob] [<CommonParameters>]
20+
```
21+
22+
## DESCRIPTION
23+
24+
Downloads and installs the available language components for the specified language onto a device.
25+
26+
You can also change your Display Language by using the International module commands (`Set-WinUILanguageOverride <lnstalled Language>`)
27+
28+
## EXAMPLES
29+
30+
### Example 1: Add a language to a device
31+
32+
```powershell
33+
Install-Language ja-JP
34+
```
35+
36+
This command adds the Japanese language to a device.
37+
38+
## PARAMETERS
39+
40+
### -AsJob
41+
42+
If specified, this parameter will execute the language installation as an [async PowerShell job](/powershell/module/microsoft.powershell.core/about/about_jobs).
43+
44+
```yaml
45+
Type: SwitchParameter
46+
Parameter Sets: (All)
47+
Aliases:
48+
49+
Required: False
50+
Position: Named
51+
Default value: None
52+
Accept pipeline input: False
53+
Accept wildcard characters: False
54+
```
55+
56+
### -CopyToSettings
57+
58+
If specified, this parameter sets the System and Default Device Settings (Windows Display Language, regional and locale formats) to the installed language following the installation.
59+
60+
After a language is added with this command, you have to restart the device or login again for changes to take effect. Once you log back in, you can change your Windows Display Language in Settings App to change the device UI language.
61+
62+
```yaml
63+
Type: SwitchParameter
64+
Parameter Sets: (All)
65+
Aliases: ApplyToSettings, ApplyToInternationalSettings, CopyToInternationalSettings
66+
67+
Required: False
68+
Position: Named
69+
Default value: None
70+
Accept pipeline input: False
71+
Accept wildcard characters: False
72+
```
73+
74+
### -ExcludeFeatures
75+
76+
If specified, the associated language Features on Demand won't be installed.
77+
78+
```yaml
79+
Type: SwitchParameter
80+
Parameter Sets: (All)
81+
Aliases:
82+
83+
Required: False
84+
Position: Named
85+
Default value: None
86+
Accept pipeline input: False
87+
Accept wildcard characters: False
88+
```
89+
90+
### -Language
91+
92+
The bcp47 tag of the language that you're installing.
93+
94+
```yaml
95+
Type: String
96+
Parameter Sets: (All)
97+
Aliases: LanguageId, LanguageTag
98+
99+
Required: True
100+
Position: 0
101+
Default value: None
102+
Accept pipeline input: True (ByValue)
103+
Accept wildcard characters: False
104+
```
105+
106+
### CommonParameters
107+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
108+
109+
## INPUTS
110+
111+
### System.String
112+
113+
## OUTPUTS
114+
115+
### Microsoft.LanguagePackManagement.Powershell.Commands.InstallLanguage+InstallLanguageJob
116+
117+
### System.Collections.Generic.List<Microsoft.LanguagePackManagement.Powershell.Commands.InstalledLanguage>
118+
119+
## RELATED LINKS
120+
121+
[UninstallLanguage](uninstall-language.md)
122+
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
Module Name: LanguagePackManagement
3+
Module Guid: f42dbdd4-4358-4067-8155-a4567a0aaee5
4+
Download Help Link: https://aka.ms/winsvr-2022-pshelp
5+
Help Version: 5.0.0.1
6+
Locale: en-US
7+
ms.date: 08/15/2022
8+
title: LanguagePackManagement module
9+
description: The LanguagePackManagement module includes cmdlets that help you easily manage languages and language settings on a running Windows installation
10+
---
11+
12+
# LanguagePackManagement Module
13+
## Description
14+
15+
This module can be used to easily [add languages](/windows-hardware/manufacture/desktop/available-language-packs-for-windows) and [related language features](/windows-hardware/manufacture/desktop/features-on-demand-language-fod) and manage settings like System Preferred UI Language, System Locale, Input method (Keyboard), Locale, Speech Recognizer, User Preferred Language List using the new cmdlets.
16+
17+
> [!NOTE]
18+
> - These cmdlets are supported on client operating system only.
19+
> - To run the `Install-Language` and `Set-Language` cmdlets you must run the PowerShell as an admin (right click on the icon).
20+
> - These cmdlets work in conjunction with the [International module](/powershell/module/international/), which allows users to control the language used for various elements of the user interface (UI).
21+
22+
## LanguagePackManagement Cmdlets
23+
### [Get-InstalledLanguage](Get-InstalledLanguage.md)
24+
Returns information about the installed languages on a device.
25+
26+
### [Get-SystemPreferredUILanguage](Get-SystemPreferredUILanguage.md)
27+
Returns the current System Preferred Language.
28+
29+
### [Install-Language](Install-Language.md)
30+
Installs a language onto a device.
31+
32+
### [Set-SystemPreferredUILanguage](Set-SystemPreferredUILanguage.md)
33+
Sets the provided language as the System Preferred UI Language.
34+
35+
### [Uninstall-Language](Uninstall-Language.md)
36+
Removes a language from a device.
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
external help file: Microsoft.LanguagePackManagement.Powershell.Commands.dll-Help.xml
3+
Module Name: LanguagePackManagement
4+
online version: https://docs.microsoft.com/powershell/module/languagepackmanagement/set-systempreferreduilanguage?view=windowsserver2019-ps
5+
schema: 2.0.0
6+
ms.date: 08/15/2022
7+
title: Set-SystemPreferredUILanguage
8+
description: The Set-SystemPreferredUILanguage cmdlet lets you set an installed language as the System Preferred UI Language in a running Windows installation
9+
---
10+
11+
# Set-SystemPreferredUILanguage
12+
13+
## SYNOPSIS
14+
Sets the provided language as the System Preferred UI Language.
15+
16+
## SYNTAX
17+
18+
```
19+
Set-SystemPreferredUILanguage [-Language] <String> [-PassThru] [<CommonParameters>]
20+
```
21+
22+
## DESCRIPTION
23+
24+
Sets the provided language as the System Preferred UI Language.
25+
26+
After a language is set as the System Preferred UI Language, you have to restart the device or login again for changes to take effect. Additional accounts created after setting the System Preferred UI Langauge will be configured to use the new language.
27+
28+
## EXAMPLES
29+
30+
### Example 1: Set the System Preferred UI Language on a Windows installation
31+
32+
```powershell
33+
Set-SystemPreferredUILanguage ja-JP
34+
```
35+
36+
This command sets the System Preferred UI Language to Japanese.
37+
38+
## PARAMETERS
39+
40+
### -Language
41+
42+
The bcp47 tag of the language to set as the System Preferred UI Language.
43+
44+
```yaml
45+
Type: String
46+
Parameter Sets: (All)
47+
Aliases: LanguageId, LanguageTag
48+
49+
Required: True
50+
Position: 0
51+
Default value: None
52+
Accept pipeline input: True (ByValue)
53+
Accept wildcard characters: False
54+
```
55+
56+
### -PassThru
57+
58+
If specified, this parameter returns the bcp47 tag of the language upon successful configuration of the System Preferred UI Language.
59+
60+
```yaml
61+
Type: SwitchParameter
62+
Parameter Sets: (All)
63+
Aliases:
64+
65+
Required: False
66+
Position: Named
67+
Default value: None
68+
Accept pipeline input: False
69+
Accept wildcard characters: False
70+
```
71+
72+
### CommonParameters
73+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
74+
75+
## INPUTS
76+
77+
### System.String
78+
79+
## OUTPUTS
80+
81+
### System.Void
82+
83+
### System.String
84+
85+
## NOTES
86+
87+
## RELATED LINKS
88+
89+
[Get-SystemPreferredUILanguage](Set-SystemPreferredUILanguage.md)
90+

0 commit comments

Comments
 (0)