HRESULT hr = S_OK; DismDriver* DriverPackageInfos; UINT Count; hr = DismGetDrivers(Session, TRUE, &DriverPackageInfos, &Count); 規格需求 需求描述 支援的主機平臺DISM API 可用於 Windows 評定與部署套件所支援的任何作業系統, (Windows ADK) 。 如需詳細資訊,請參閱Windows ADK 技術參考。
dism /Get-Features:获取 Windows 组件列表。 驱动程序的管理: dism /Add-Driver:添加驱动程序到映像文件或在线操作系统。 dism /Remove-Driver:从映像文件或在线操作系统中移除驱动程序。 dism /Get-Drivers:获取系统中已安装的驱动程序列表。 系统准备 (Sysprep) 工具的管理: dism /Capture-Image /CaptureDir:<Sy...
Get-WindowsOptionalFeature Get-WindowsPackage Get-WindowsReservedStorageState Mount-WindowsImage New-WindowsCustomImage New-WindowsImage Optimize-AppXProvisionedPackages Optimize-WindowsImage Remove-AppxProvisionedPackage Remove-WindowsCapability Remove-WindowsDriver ...
/Get-Drivers - 显示有关脱机映像中或正在运行的操作系统中的所有驱动程序的信息。 国际服务命令: /Set-LayeredDriver - 设置键盘分层驱动程序。 /Set-UILang - 设置安装的脱机映像中使用的默认系统用户界面语言。 /Set-UILangFallback - 设置安装的脱机映像中系统用户界面的回滚默认语言。 /Set-UserLocale - 设...
DISM.exe /Online [/Get-Drivers | /Get-DriverInfo | /Export-Driver] /Get-Help /?在驱动程序维护命令行选项之后立即使用时,将显示有关选项和参数的信息。 指定映像后,其他主题可能会变得可用。示例:Windows 命令提示符 复制 Dism /image:C:\test\offline /Add-Driver /? Windows...
Dism /online /Get-Drivers /all 生成的报告包括以下信息: 字段说明示例 Published Name 驱动程序包在添加到驱动程序存储后显示的名称。 Oem0.inf 原始文件名 驱动程序包的原始 .inf 文件名。 Toaster.inf 收件箱 对于默认驱动程序(自带的驱动程序),值为 Yes;对于第三方驱动程序包,值为 No。
Displays information about drivers in a Windows image. Syntax PowerShellKopēt Get-WindowsDriver[-All] [-Driver <String>]-Path<String> [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>] ...
PowerShell Copy PS C:\> Get-WindowsDriver -Path "c:\offline" This command gets the third-party drivers in a mounted Windows image.Example 3: Get details about a driver in a mounted imagePowerShell Copy PS C:\> Get-WindowsDriver -Path "c:\offline" -Driver "OEM1.inf" This command...
这里我们使用参数/Get-Drivers来获取下操作系统中所有驱动程序的信息,输入dism/p_w_picpath:d:\test/Get-drivers,我们看到只有一个第三方的打印驱动程序 当然了我们可以使用参数/Add-drivers来添加驱动程序,如下图我添加了一个驱动程序,命令为dism/p_w_picpath:d:\test/Add-driver:Z:\Support\amd64\kmdf.inf...
Get-WindowsDriver Reference Feedback Module: DISM Displays information about drivers in a Windows image. Syntax PowerShell Copy Get-WindowsDriver [-All] [-Driver <String>] -Path <String> [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String...