Share via


/add-DriverGroupFilter

Applies To: Windows Server 2008 R2

Adds a filter to a driver group on a server.

Syntax

WDSUTIL /Add-DriverGroupFilter /DriverGroup:<Group Name> [/Server:<Server name>] /FilterType:<Filter Type> /Policy:{Include | Exclude} /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:<FilterType>

Specifies the type of 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 include at least one /Value. <FilterType> can be BiosVendor, BiosVersion, ChassisType, Manufacturer, Uuid, OsVersion, OsEdition, or OsLanguage. For information about obtaining the values for all other filter types, see Driver Group Filters (https://go.microsoft.com/fwlink/?LinkID=155158).

[/Policy:{Include | Exclude}]

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, 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 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 filter to a driver group, type one of the following:

WDSUTIL /Add-DriverGroupFilter /DriverGroup:PrinterDrivers /FilterType:Manufacturer /Policy:Include /Value:Name1 /Value:Name2

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

Additional references

Command-Line Syntax Key

/add-DriverGroup