File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed
docset/winserver2019-ps/dism Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,16 @@ Adds an app package (.appx) that will install for each new user to a Windows ima
17
17
18
18
### Offline
19
19
```
20
- Add-AppxProvisionedPackage [-FolderPath <String>] [-PackagePath <String>] [-DependencyPackagePath <String[]>]
21
- [-LicensePath <String>] [-SkipLicense] [-CustomDataPath <String>] -Path <String> [-WindowsDirectory <String>]
20
+ Add-AppxProvisionedPackage [-FolderPath <String>] [-PackagePath <String>] [-DependencyPackagePath <String[]>]
21
+ [-OptionalPackagePath <String[]>] [- LicensePath <String>] [-SkipLicense] [-CustomDataPath <String>] -Path <String> [-WindowsDirectory <String>]
22
22
[-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-StubPackageOption <StubPackageOption>] [-LogLevel <LogLevel>] [-Regions <String>]
23
23
[<CommonParameters>]
24
24
```
25
25
26
26
### Online
27
27
```
28
28
Add-AppxProvisionedPackage [-FolderPath <String>] [-PackagePath <String>] [-DependencyPackagePath <String[]>]
29
- [-LicensePath <String>] [-SkipLicense] [-CustomDataPath <String>] [-Online] [-WindowsDirectory <String>]
29
+ [-OptionalPackagePath <String[]>] [-LicensePath <String>] [-SkipLicense] [-CustomDataPath <String>] [-Online] [-WindowsDirectory <String>]
30
30
[-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-StubPackageOption <StubPackageOption>] [-LogLevel <LogLevel>] [-Regions <String>]
31
31
[<CommonParameters>]
32
32
```
@@ -185,6 +185,23 @@ Accept pipeline input: True (ByPropertyName)
185
185
Accept wildcard characters: False
186
186
` ` `
187
187
188
+ # ## -OptionalPackagePath
189
+ Specifies the path to an optional package that will also be provisioned. For more information on
190
+ optional packages, see
191
+ [Optional packages and related set authoring](/windows/msix/package/optional-packages).
192
+
193
+ ` ` ` yaml
194
+ Type: String[]
195
+ Parameter Sets: (All)
196
+ Aliases:
197
+
198
+ Required: False
199
+ Position: Named
200
+ Default value: None
201
+ Accept pipeline input: True (ByPropertyName)
202
+ Accept wildcard characters: False
203
+ ` ` `
204
+
188
205
# ## -PackagePath
189
206
Specifies the location of the app package (.appx) to add to the Windows image.
190
207
This package will be added for every new user account.
You can’t perform that action at this time.
0 commit comments