add-DriverGroupFilter

add-DriverGroupFilter

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:<Groupname> Specifies the name of the new driver group.
/Server:<Servername> 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 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. Valid values include:
  • BiosVendor
  • Biosversion
  • Chassistype
  • Manufacturer
  • Uuid
  • Osversion
  • Osedition
  • OsLanguage
For information about getting values for all other filter types, see Driver Group Filters.
[/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. For information about acceptable filter type values, see Driver Group Filters.

Examples

To add a filter to a driver group, type either:

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