text
stringlengths
0
4.23k
wdsutil /add-DriverGroupPackage /DriverGroup:<Group Name> [/Server:<Server Name>] {/DriverPackage:<Name> | /PackageId:<ID>}
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.
/DriverPackage:<Name>
Specifies the name of the driver package to be added to the group. You must specify this option if the driver package cannot be uniquely identified by name.
/PackageId:<ID>
Specifies the ID for a package. To find the Package ID, select the driver group that the package is in (or the All Packages node), right-click the package, and then select Properties. The Package ID is listed on the General tab, for example: {DD098D20-1850-4fc8-8E35-EA24A1BEFF5E}.
<Groupname>
<Servername>
<Name>
<ID>
Examples
To add a driver group package, type either:
wdsutil /add-DriverGroupPackage /DriverGroup:printerdrivers /PackageId:{4D36E972-E325-11CE-Bfc1-08002BE10318}
wdsutil /add-DriverGroupPackage /DriverGroup:printerdrivers /DriverPackage:XYZ
wdsutil add-drivergrouppackages
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
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:PackageIdPackageNamePackageEnabledPackagedateaddedPackageInfFilenamePackageClassPackageProviderPackageArchitecturePackageLocalePackageSignedPackagedatePublishedPackageversionDriverdescriptionDriverManufacturerDriverHardwareIdDrivercompatibleIdDriverExcludeIdDriverGroupIdDriverGroupName**.
/Operator:{Equal|NotEqual|GreaterOrEqual|LessOrEqual|Contains}
Specifies the relationship between the attribute and the values. You can only specify Contains with string attributes. You can only specify Equal, NotEqual, GreaterOrEqual and LessOrEqual with date and version attributes.
/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:PackageId - Specify a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}PackageName - Specify any string valuePackageEnabled - Specify Yes or NoPackagedateadded - Specify the date in the following format: YYYY/MM/DDPackageInfFilename - Specify any string valuePackageClass - Specify a valid class name or class GUID. For example: DiskDrive, Net, or {4d36e972-e325-11ce-bfc1-08002be10318}PackageProvider - Specify any string valuePackageArchitecture - Specify x86, x64, or ia64PackageLocale - Specify a valid language identifier. For example: en-US or es-ESPackageSigned - Specify Yes or NoPackagedatePublished - Specify the date in the following format: YYYY/MM/DDPackageversion - Specify the version in the following format: a.b.x.y. For example: 6.1.0.0Driverdescription - Specify any string valueDriverManufacturer - Specify any string valueDriverHardwareId - Specify any string valueDrivercompatibleId - Specify any string valueDriverExcludeId - Specify any string valueDriverGroupId - Specify a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}DriverGroupName - Specify any string value For more information about these values, see Driver and Package attributes.
<Groupname>
<Servername>
<Filtertype>
PackageProvider
{Equal|NotEqual|GreaterOrEqual|LessOrEqual|Contains}
<Value>
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
add-DriverPackage
Adds a driver package to the server.
Syntax
wdsutil /Add-DriverPackage /InfFile:<Inf File path> [/Server:<Server name>] [/Architecture:{x86 | ia64 | x64}] [/DriverGroup:<Group Name>] [/Name:<Friendly Name>]
Parameters
Parameter
Description
/InfFile:<InfFilepath>
Specifies the full path of the .inf file to add.
[/Server:<Servername>]