使用/Image:<path_to_an_image> 选项指定映像文件,或使用/Online选项获取有关映像中的维护命令(例如/Get-Packages)的帮助。 可用于维护映像的选项取决于在映像中可用的维护技术。 示例: Dism /image:C:\test\offline /? Dism /online /? 可以通过指定命令行选项来显示更多帮助。
Dism /Online /Get-Packages /Get-PackageInfo 顯示以.cab檔案提供之套件的詳細資訊。 只能指定.cab檔案。 您無法使用此命令來取得 .msu 檔案的套件資訊。/PackagePath:<path_to_package>可以指向.cab檔案或資料夾。 您可以使用/Get-Packages選項來尋找映像中的套件名稱,也可以指定.ca...
Get-WindowsPackage Get-WindowsReservedStorageState Mount-WindowsImage New-WindowsCustomImage New-WindowsImage Optimize-AppXProvisionedPackages Optimize-WindowsImage Remove-AppxProvisionedPackage Remove-WindowsCapability Remove-WindowsDriver Remove-WindowsImage ...
Dism /Online /Add-Capability /CapabilityName:Language.Basic~~~en-US~0.0.1.0/Source:\server\share /LimitAccess /Export-Source 將一組功能匯出至新的存放庫。 語法: Windows 命令提示字元複製 /Export-Source /CapabilityName:<capability_name> /Source<path_to_installation_packages> /Target:<...
Dism /Online /Get-Packages /Get-PackageInfo {/PackageName:< name_in_image> | /PackagePath:< path_to_cabfile>} Displays detailed information about a package provided as a .cab file. Only .cab files can be specified. You cannot use this command to obtain package information for .msu files...
Dism /online /Get-ProvisionedAppxPackages /? /Get-ProvisionedAppxPackages Displays information about app packages (.appx or .appxbundle), in an image, that are set to install for each new user. Dism /Image:C:\test\offline /Get-ProvisionedAppxPackages ...
Dism /online /Get-ProvisionedAppxPackages /? /Get-ProvisionedAppxPackages Displays information about app packages (.appx or .appxbundle), in an image, that are set to install for each new user. Dism /Image:C:\test\offline /Get-ProvisionedAppxPackages ...
Dism /online /Get-ProvisionedAppxPackages /?/Get-ProvisionedAppxPackagesDisplays information about app packages (.appx or .appxbundle), in an image, that are set to install for each new user.Dism /Image:C:\test\offline /Get-ProvisionedAppxPackages...
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 ...
DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options] {servicing_command} [<servicing_arguments>] 描述: DISM 枚举、安装、卸载、配置和更新 Windows 映像 中的功能和程序包。可以使用的命令取决于提供的映像 以及映像是处于脱机还是运行状态。