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
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```
2828Add-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)
185185Accept 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
189206Specifies the location of the app package (.appx) to add to the Windows image.
190207This package will be added for every new user account.
You can’t perform that action at this time.
0 commit comments