Skip to content

Commit c9b3d93

Browse files
authored
Merge pull request #2932 from msbemba/patch-138
Update Add-AppxProvisionedPackage.md
2 parents 0410598 + dbb42eb commit c9b3d93

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

docset/winserver2019-ps/dism/Add-AppxProvisionedPackage.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ Adds an app package (.appx) that will install for each new user to a Windows ima
1717

1818
### Offline
1919
```
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>]
2222
[-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-StubPackageOption <StubPackageOption>] [-LogLevel <LogLevel>] [-Regions <String>]
2323
[<CommonParameters>]
2424
```
2525

2626
### Online
2727
```
2828
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>]
3030
[-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-StubPackageOption <StubPackageOption>] [-LogLevel <LogLevel>] [-Regions <String>]
3131
[<CommonParameters>]
3232
```
@@ -185,6 +185,23 @@ Accept pipeline input: True (ByPropertyName)
185185
Accept wildcard characters: False
186186
```
187187

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+
188205
### -PackagePath
189206
Specifies the location of the app package (.appx) to add to the Windows image.
190207
This package will be added for every new user account.

0 commit comments

Comments
 (0)