取得標準套件屬性作為 DismGetPackages,以及更特定的套件資訊和自訂屬性。語法C++ 複製 HRESULT WINAPI DismGetPackageInfo( _In_ DismSession Session, _In_ PCWSTR Identifier, _In_ DismPackageIdentifier PackageIdentifier, _Out_ DismPackageInfo **PackageInfo ); 參數...
/Get-Packages /Get-PackageInfo 显示另外 9 个 将DISM 与 Windows 机柜 (.cab) 或 Windows 更新独立安装程序 (.msu) 文件配合使用,以安装或删除更新、语言包,以及启用或禁用 Windows 功能。 功能是核心操作系统的可选组件。 语法 Windows 命令提示符 ...
Dism /image:C:\test\offline /Get-PackageInfo /PackageName:Microsoft.Windows.Calc.Demo~6595b6144ccf1df~x86~en~1.0.0.0 在正在运行的操作系统上: Windows 命令提示符 Dism /online /Get-PackageInfo /PackagePath:C:\packages\package.cab Windows 命令提示符 ...
Get-WindowsOptionalFeature Get-WindowsPackage Get-WindowsReservedStorageState Mount-WindowsImage New-WindowsCustomImage New-WindowsImage Optimize-AppXProvisionedPackages Optimize-WindowsImage Remove-AppxProvisionedPackage Remove-WindowsCapability Remove-WindowsDriver ...
运行dism /Get-WimInfo后,输出通常包括以下信息: WIM 文件的路径:显示所使用的 WIM 文件路径。 映像索引:列出 WIM 文件中所有映像的索引号。 映像名称:映像的名称,通常为 Windows 的版本或其他描述信息。 映像描述:该映像的描述信息,例如 Windows 版本、语言、架构等。
Get-WindowsOptionalFeature Get-WindowsPackage Get-WindowsReservedStorageState Mount-WindowsImage New-WindowsCustomImage New-WindowsImage Optimize-AppXProvisionedPackages Optimize-WindowsImage Remove-AppxProvisionedPackage Remove-WindowsCapability Remove-WindowsDriver ...
Get-WindowsPackage[-PackagePath <String>] [-PackageName <String>] [-Online] [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>] Description ...
Get-WindowsPackage[-PackagePath <String>] [-PackageName <String>] [-Online] [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>] Description ...
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. Parameters -LogLevel Specifies the maximum output level shown in the logs. The default log...
您可以使用/Get-Packages來尋找封裝的名稱,然後使用/PackageName來指定封裝的名稱。 您可以使用 選項來顯示功能/Get-FeatureInfo /FeatureName:<name>的詳細資訊。 如需DISM 中可用作業系統套件服務命令的詳細資訊,請參閱DISM 作業系統套件服務Command-Line選項。