Freigeben über


/set-DriverGroupFilter

 

Applies To: Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2012, Windows 8

Adds or removes an existing driver group filter from a driver group.

Syntax

WDSUTIL /Set-DriverGroupFilter /DriverGroup:<Group Name> [/Server:<Server name>] /FilterType:<Filter Type> [/Policy:{Include | Exclude}] [/AddValue:<Value> [/AddValue:<Value> ...]] [/RemoveValue:<Value> [/RemoveValue:<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 a server name is not specified, the local server is used.

/FilterType:<FilterType>

Specifies the type of driver group filter to add or remove. You can specify multiple filters in a single command. For each /FilterType, you can add or remove multiple values using /RemoveValue and /AddValue. <FilterType> can be one of the following:

BiosVendor

BiosVersion

ChassisType

Manufacturer

Uuid

OsVersion

OsEdition

OsLanguage

[/Policy:{Include | Exclude}]

Specifies the new 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 fit the filter are not allowed to install the drivers in this group.

[/AddValue:<Value>]

Specifies the new client value to add to the filter. You can specify multiple values for a single filter type. See the following list for valid attribute 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

[/RemoveValue:<Value>]

Specifies the existing client value to remove from the filter as specified with /AddValue.

Examples

To remove a filter, type one of the following:

WDSUTIL /Set-DriverGroupFilter /DriverGroup:PrinterDrivers /FilterType:Manufacturer /Policy:Include /AddValue:Name1 /RemoveValue:Name2

WDSUTIL /Set-DriverGroupFilter /DriverGroup:PrinterDrivers /FilterType:Manufacturer /Policy:Include /RemoveValue:Name1 /FilterType:ChassisType /Policy:Exclude /AddValue:Tower /AddValue:MiniTower

Additional references

Command-Line Syntax Key