/add-DriverGroupPackages
Applies To: Windows Server 2008 R2
Adds driver packages to a driver group.
For examples of how you can use this command, see Examples.
Syntax
WDSUTIL /Add-DriverGroupPackages /DriverGroup:<Group Name> [/Server:<Server Name>] /FilterType:<Filter Type> /Operator:{Equal | NotEqual | GreaterOrEqual | LessOrEqual | Contains} /Value:<Value> [/Value:<Value>
Parameters
Parameter | Description |
---|---|
/DriverGroup:<Group Name> |
Specifies the name of the driver group. |
/Server:<Server name> |
Specifies the name of the server. This can be the NetBIOS name or the FQDN. If no server name is specified, the local server is used. |
/FilterType:<Filter Type> |
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. <Filter Type> can be one of the following: 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 Equal, NotEqual, GreaterOrEqual and LessOrEqual with date and version attributes. |
/Value:<Value> |
Specifies the client value corresponding to /FilterType. You can specify multiple values for a single /FilterType. The following list outlines the values that you can specify for each filter. For more information about these values, see Driver and Package Attributes (https://go.microsoft.com/fwlink/?LinkId=166895).
|
Examples
To add a driver package, type one of the following:
WDSUTIL /verbose /Add-DriverGroupPackages /DriverGroup:PrinterDrivers /FilterType:PackageClass /Operator:Equal /Value:Printer /FilterType:DriverManufacturer /Operator:NotEqual /Value:Name1 /Value:Name2
WDSUTIL /verbose /Add-DriverGroupPackages /DriverGroup:DisplayDriversX86 /FilterType:PackageClass /Operator:Equal /Value:Display /FilterType:PackageArchitecture /Operator:Equal /Value:x86 /FilterType:PackageDateAdded /Operator:LessOrEqual /Value:2008/01/01