Table of contents
TOC
Collapse the table of content
Expand the table of content

Subcommand: set-DriverGroupFilter

Corey Plett|Last Updated: 1/19/2017
|
1 Contributor

Applies To: Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

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

ParameterDescription
/DriverGroup:Specifies the name of the driver group.
[/Server:]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: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. 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:]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 (http://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:]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

© 2017 Microsoft