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:BiosVendorBiosVersionChassisTypeManufacturerUuidOsVersionOsEditionOsLanguage |
[/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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru