Get-AppxProvisionedPackage [-Online] [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>]DescriptionThe Get-AppxProvisionedPackage cmdlet gets information about app packages (.appx) in an image that...
Get-AppxProvisionedPackage[-Online] [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>] Description TheGet-AppxProvisionedPackagecmdlet gets information about app packages (.appx) in an image that ...
Get-AppxProvisionedPackage[-Online] [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>] Description TheGet-AppxProvisionedPackagecmdlet gets information about app packages (.appx) in an image that ...
Get-AppxProvisionedPackage[-Online] [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>] Description TheGet-AppxProvisionedPackagecmdlet gets information about app packages (.appx) in an image that ...
Example 1: Add an app package to the running operating systemPowerShell Copy PS C:\> Add-AppxProvisionedPackage -Online -FolderPath "c:\Appx"This command adds the app package, dependency packages, and license file from the c:\Appx folder to the running Windows operating system. The ...
Example 1: Add an app package to the running operating systemPowerShell Copy PS C:\> Add-AppxProvisionedPackage -Online -FolderPath "c:\Appx"This command adds the app package, dependency packages, and license file from the c:\Appx folder to the running Windows operating system. The ...
Get-WindowsDriver Get-WindowsEdition Get-WindowsImage Get-WindowsImageContent Get-WindowsOptionalFeature Get-WindowsPackage Get-WindowsReservedStorageState Mount-WindowsImage New-WindowsCustomImage New-WindowsImage Optimize-AppXProvisionedPackages Optimize-WindowsImage ...
Dism /Image:C:\mount /Add-AppxProvisionedPackage /PackagePath:C:\path\to\appx.appxREM 卸载映像Dism /Unmount-Image /MountDir:C:\mount /Commit 使用PowerShell 脚本: 除了批处理脚本,您还可以使用 PowerShell 脚本来编写包含 DISM 命令的脚本文件。PowerShell 提供了更多强大的功能和灵活性,适合处理更复杂...
Dism /Image:C:\test\offline /Get-ProvisionedAppxPackages Remove the app from the mounted image. For example, at the command prompt, type: Dism /Image:c:\test\offline /Remove-ProvisionedAppxPackage /PackageName:microsoft.devx.appx.app1_1.0.0.0_neutral_en-us_ac4zc6fex2zjp ...
parameters: Session: 2, AppPath: C:\WINDOWS\TEMP\InstallDVDAppxPackage\50ea4d02e68f4217869d054e06374b74.appxbundle, DependencyPackageCount: 0, LicensePath: C:\WINDOWS\TEMP\InstallDVDAppxPackage\50ea4d02e68f4217869d054e06374b74_License1.xml, SkipLicense: 0 – DismAddProvisionedAppxPackage...