Partager via


/add-DriverGroup

Applies To: Windows Server 2008 R2

Adds a driver group to the server.

For examples of how you can use this command, see Examples.

Syntax

WDSUTIL /Add-DriverGroup /DriverGroup:<Group Name>\n\
[/Server:<Server name>] [/Enabled:{Yes | No}] [/Applicability:{Matched | All}] [/FilterType:<Filter Type> /Policy:{Include | Exclude} /Value:<Value> [/Value:<Value> ...]]

Parameters

Parameter Description

/DriverGroup:<Group Name>

Specifies the name of the new 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.

/Enabled:{Yes | No}

Enables or disables the package.

/Applicability:{Matched | All}

Specifies which packages to install if the filter criteria are met. Matched means install only the driver packages that match a client’s hardware. All means install all the packages to clients regardless of their hardware.

/FilterType:<FilterType>

Specifies the type of the filter to add to the group. You can specify multiple filter types in a single command. Each filter type must be followed by /Policy and at least one /Value. <FilterType> can be one of the following:

BiosVendor

BiosVersion

ChassisType

Manufacturer

Uuid

OsVersion

OsEdition

OsLanguage

For information about obtaining values for all other filter types, see Driver Group Filters (https://go.microsoft.com/fwlink/?LinkID=155158).

[/Policy:{Include | Exclude}]

Specifies the policy to be set on the filter. If /Policy is set to Include, client computers that match the filter are allowed to install the drivers in this group. If /Policy is set to Exclude, then client computers that match the filter are not allowed to install the drivers in this group.

[/Value:<Value>]

Specifies the client value that corresponds to /FilterType. You can specify multiple values for a single type. See the following list for valid values for certain filter types. The Following attributes are for ChassisType. For information about obtaining the values for all other filter types, see Driver Group Filters (https://go.microsoft.com/fwlink/?LinkID=155158).

Other

UnknownChassis

Desktop

LowProfileDesktop

PizzaBox

MiniTower

Tower

Portable

Laptop

Notebook

Handheld

DockingStation

AllInOne

SubNotebook

SpaceSaving

LunchBox

MainSystemChassis

ExpansionChassis

SubChassis

BusExpansionChassis

PeripheralChassis

StorageChassis

RackMountChassis

SealedCaseComputer

MultiSystemChassis

CompactPci

AdvancedTca

Examples

To add a driver group, type one of the following:

WDSUTIL /Add-DriverGroup /DriverGroup:PrinterDrivers /Enabled:Yes

WDSUTIL /Add-DriverGroup /DriverGroup:PrinterDrivers /Applicability:All /FilterType:Manufacturer /Policy:Include /Value:Name1 /FilterType:ChassisType /Policy:Exclude /Value:Tower /Value:MiniTower

Additional references

Command-Line Syntax Key

/add-DriverGroupPackage

/add-DriverGroupPackages

/add-DriverGroupFilter