Get-WindowsOptionalFeature Get-WindowsPackage Get-WindowsReservedStorageState Mount-WindowsImage New-WindowsCustomImage New-WindowsImage Optimize-AppXProvisionedPackages Optimize-WindowsImage Remove-AppxProvisionedPackage Remove-WindowsCapability Remove-WindowsDriver ...
PS C:\>Get-WindowsPackage-Path"c:\offline" This command lists all of the packages in the Windows image that is mounted to c:\offline. Example 2: Lists details about a package in a mounted image PowerShell PS C:\>Get-WindowsPackage-Path"c:\offline"-PackageName"Microsoft-Windows-Backup-...
PS C:\>Get-WindowsPackage -Path "c:\offline" This command lists all of the packages in the Windows image that is mounted to c:\offline. Example 2: List details about a package in a mounted image PowerShell Copy PS C:\>Get-WindowsPackage -Path "c:\offline" -PackageName "Microsoft-...
/Get-Packages /Get-PackageInfo 显示另外 9 个 将DISM 与 Windows 机柜 (.cab) 或 Windows 更新独立安装程序 (.msu) 文件配合使用,以安装或删除更新、语言包,以及启用或禁用 Windows 功能。 功能是核心操作系统的可选组件。 语法 Windows 命令提示符 ...
Example 1: List the app packages the mounted image to install for eachaccount PowerShell PS C:\>Get-AppxProvisionedPackage-Path"c:\offline" This command lists the app packages (.appx) in the Windows image that is mounted to c:\offline that will be installed for each new user account. ...
DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options] {servicing_command} [<servicing_arguments>] 描述: DISM 枚举、安装、卸载、配置和更新 Windows 映像中的功能和程序包。可以使用的命令取决于提供的映像以及映像处于脱机状态还是正在运行。
PS C:\>Get-AppxProvisionedPackage-Pathc:\offline This command lists the app packages (.appx) in the Windows image that is mounted to c:\offline that will be installed for each new user account. Parameters -LogLevel Specifies the maximum output level shown in the logs. The default log lev...
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-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.exe [dism_options] {Imaging_command} [<Imaging_arguments>] DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options] {servicing_command} [<servicing_arguments>] 描述: DISM 枚举、安装、卸载、配置和更新 Windows 映像 中的功能和程序包。可以使用的命令取决于提供的映像 ...