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

wdsutil add-drivergrouppackages

· 52CE 我爱测

Reference article for the wdsutil add-drivergrouppackages command, which add driver group packages.

Adds driver group packages.

Syntax

wdsutil /add-DriverGroupPackages /DriverGroup:<Group Name> [/Server:<Server Name>] /Filtertype:<Filter type> /Operator:{Equal | NotEqual | GreaterOrEqual | LessOrEqual | Contains} /Value:<Value> [/Value:<Value>]

Parameters

Parameter Description
/DriverGroup:<Groupname> Specifies the name of the new driver group.
/Server:<Servername> Specifies the name of the server. This can be the NetBIOS name or the FQDN. If no server name is specified, the local server is used.
/Filtertype:<Filtertype> Specifies the type of the driver package to search for. You can specify multiple attributes in a single command. You must also specify /Operator and /Value with this option. Valid values include:<ul><li>PackageId</li><li>PackageName</li><li>PackageEnabled</li><li>Packagedateadded</li><li>PackageInfFilename</li><li>PackageClassPackageProvider</li><li>PackageArchitecture</li><li>PackageLocale</li><li>PackageSigned</li><li>PackagedatePublished</li><li>Packageversion</li><li>Driverdescription</li><li>DriverManufacturer</li><li>DriverHardwareId</li><li>DrivercompatibleId</li><li>DriverExcludeId</li><li>DriverGroupId</li><li>DriverGroupName**</li></ul>.
/Operator:`{Equal NotEqual
/Value:<Value> Specifies the client value corresponding to /Filtertype. You can specify multiple values for a single /Filtertype. The available values for each filter are:<ul><li>PackageId - Specify a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}</li><li>PackageName - Specify any string value</li><li>PackageEnabled - Specify Yes or No</li><li>Packagedateadded - Specify the date in the following format: YYYY/MM/DD</li><li>PackageInfFilename - Specify any string value</li><li>PackageClass - Specify a valid class name or class GUID. For example: DiskDrive, Net, or {4d36e972-e325-11ce-bfc1-08002be10318}</li><li>PackageProvider - Specify any string value</li><li>PackageArchitecture - Specify x86, x64, or ia64</li><li>PackageLocale - Specify a valid language identifier. For example: en-US or es-ES</li><li>PackageSigned - Specify Yes or No</li><li>PackagedatePublished - Specify the date in the following format: YYYY/MM/DD</li><li>Packageversion - Specify the version in the following format: a.b.x.y. For example: 6.1.0.0</li><li>Driverdescription - Specify any string value</li><li>DriverManufacturer - Specify any string value</li><li>DriverHardwareId - Specify any string value</li><li>DrivercompatibleId - Specify any string value</li><li>DriverExcludeId - Specify any string value</li><li>DriverGroupId - Specify a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}</li><li>DriverGroupName - Specify any string value</li></ul> For more information about these values, see Driver and Package attributes.

Examples

To add a driver group package, type either:

wdsutil /verbose /add-DriverGroupPackages /DriverGroup:printerdrivers /Filtertype:PackageClass /Operator:Equal /Value:printer /Filtertype:DriverManufacturer /Operator:NotEqual /Value:Name1 /Value:Name2
wdsutil /verbose /add-DriverGroupPackages /DriverGroup:DisplayDriversX86 /Filtertype:PackageClass /Operator:Equal /Value:Display /Filtertype:PackageArchitecture /Operator:Equal /Value:x86 /Filtertype:Packagedateadded /Operator:LessOrEqual /Value:2008/01/01

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)

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

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