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:BiosVendorBiosVersionChassisTypeManufacturerUuidOsVersionOsEdition****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).OtherUnknownChassisDesktopLowProfileDesktopPizzaBoxMiniTowerTowerPortableLaptopNotebookHandheldDockingStationAllInOneSubNotebookSpaceSavingLunchBoxMainSystemChassisExpansionChassisSubChassisBusExpansionChassisPeripheralChassisStorageChassisRackMountChassisSealedCaseComputerMultiSystemChassisCompactPciAdvancedTca |
| [/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
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
