Поделиться через


/set-DriverGroup

 

Applies To: Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2012, Windows 8

Sets the properties of an existing driver group on a server.

Syntax

WDSUTIL /Set-DriverGroup /DriverGroup:<Group Name> [/Server:<Server Name>] [/Name:<New Group Name>] [/Enabled:{Yes | No}] [/Applicability:{Matched | All}]

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.

[/Name:<New Group Name>]

Specifies the new name for the driver group.

[/Enabled:{Yes | No}

Enables or disables the driver group.

[/Applicability:{Matched | All}]

Specifies which packages to install if the filter criteria is met. Matched means install only the driver packages that match a client’s hardware. All means install all packages to clients regardless of their hardware.

Examples

To set the properties for a driver group, type one of the following:

WDSUTIL /Set-DriverGroup /DriverGroup:PrinterDrivers /Enabled:Yes

WDSUTIL /Set-DriverGroup /DriverGroup:PrinterDrivers /Name:ColorPrinterDrivers /Applicability:All

Additional references

Command-Line Syntax Key

-set-DriverGroupFilter