Subcommand: set-DriverGroupFilter
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}] |
[/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