Edit

Share via


wdsutil add-imagedriverpackages

Adds driver packages from the driver store to a boot image.

Syntax

wdsutil /add-ImageDriverPackages [/Server:<Server name>media:<Image namemediatype:Boot /Architecture:{x86 | ia64 | x64} [/Filename:<File name>] /Filtertype:<Filter type> /Operator:{Equal | NotEqual | GreaterOrEqual | LessOrEqual | Contains} /Value:<Value> [/Value:<Value> ...]

Parameters

Parameter Description
[/Server:<Servername>] Specifies the name of the server. This can be either the NetBIOS name or the fully qualified domain name (FQDN). If a server name is not specified, the local server is used.
[media:<Imagename>] Specifies the name of the image to add the driver to.
[mediatype:Boot] Specifies the type of image to add the driver to. Driver packages can only be added to boot images.
[/Architecture:{x86 | ia64 | x64}] Specifies the architecture of the boot image. Because it's possible to have the same image name for boot images in different architectures, you should specify the architecture to ensure the correct image is used.
[/Filename:<Filename>] Specifies the name of the file. If the image cannot be uniquely identified by name, the file name must be specified.
/Filtertype:<Filtertype> Specifies the attribute of the driver package to search for. You can specify multiple attributes in a single command. You must also specify /Operator and /Value with this option. Valid values include:
  • PackageId
  • PackageName
  • PackageEnabled
  • Packagedateadded
  • PackageInfFilename
  • PackageClass

    PackageProvider

  • PackageArchitecture
  • PackageLocale
  • PackageSigned
  • PackagedatePublished
  • Packageversion
  • Driverdescription
  • DriverManufacturer
  • DriverHardwareId
  • DrivercompatibleId
  • DriverExcludeId
  • DriverGroupId
  • DriverGroupName**
.
/Operator:{Equal|NotEqual|GreaterOrEqual|LessOrEqual|Contains} Specifies the relationship between the attribute and the values. You can only specify Contains with string attributes. You can only specify GreaterOrEqual and LessOrEqual with date and version attributes.
/Value:<Value> Specifies the value to search for relative to the specified <attribute>. You can specify multiple values for a single /Filtertype. The available values for each filter are:
  • PackageId - Specify a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}
  • PackageName - Specify any string value
  • PackageEnabled - Specify Yes or No
  • Packagedateadded - Specify the date in the following format: YYYY/MM/DD
  • PackageInfFilename - Specify any string value
  • PackageClass - Specify a valid class name or class GUID. For example: DiskDrive, Net, or {4d36e972-e325-11ce-bfc1-08002be10318}
  • PackageProvider - Specify any string value
  • PackageArchitecture - Specify x86, x64, or ia64
  • PackageLocale - Specify a valid language identifier. For example: en-US or es-ES
  • PackageSigned - Specify Yes or No
  • PackagedatePublished - Specify the date in the following format: YYYY/MM/DD
  • Packageversion - Specify the version in the following format: a.b.x.y. For example: 6.1.0.0
  • Driverdescription - Specify any string value
  • DriverManufacturer - Specify any string value
  • DriverHardwareId - Specify any string value
  • DrivercompatibleId - Specify any string value
  • DriverExcludeId - Specify any string value
  • DriverGroupId - Specify a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}
  • DriverGroupName - Specify any string value
For more information about these values, see Driver and Package attributes.

Examples

To add driver packages to a boot image, type one of the following:

wdsutil /add-ImageDriverPackagemedia:WinPE Boot Imagemediatype:Boot /Architecture:x86 /Filtertype:DriverGroupName /Operator:Equal /Value:x86Bus /Filtertype:PackageProvider /Operator:Contains /Value:Provider1 /Filtertype:Packageversion /Operator:GreaterOrEqual /Value:6.1.0.0
wdsutil /verbose /add-ImageDriverPackagemedia: WinPE Boot Image /Server:MyWDSServemediatype:Boot /Architecture:x64 /Filtertype:PackageClass /Operator:Equal /Value:Net /Filtertype:DriverManufacturer /Operator:NotEqual /Value:Name1 /Value:Name2 /Filtertype:Packagedateadded /Operator:LessOrEqual /Value:2008/01/01
wdsutil /verbose /add-ImageDriverPackagemedia:WinPE Boot Image /Server:MyWDSServemediatype:Boot /Architecture:x64 /Filtertype:PackageClass /Operator:Equal /Value:Net /Value:System /Value:DiskDrive /Value:HDC /Value:SCSIAdapter