大网数据广告活动
Windows排障命令

Subcommand set-DriverGroupFilter

· 52CE 我爱测

Reference article for Subcommand set-DriverGroupFilter, which adds or removes an existing driver group filter from a driver group.

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.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 10/16/2017
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。