Displays information about all the driver packages on a server that match the specified search criteria.
Syntax
wdsutil /get-alldriverpackages [/server:<servername>] [/show:{drivers | files | all}] [/filtertype:<filtertype> /operator:{equal | notequal | greaterorequal | lessorequal | contains} /value:<value> [/value:<value> ...]]
Parameters
| Parameter | Description |
|---|---|
[/server:<servername>] |
The name of the server. This can be the NetBIOS name or the FQDN. If a server name isn't specified, the local server is used. |
| `[/show:{drivers | files |
/filtertype:<filtertype> |
Specifies the attribute 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.The <filtertype> can be one of the following:<ul><li>PackageId</li><li>PackageName</li><li>PackageEnabled</li><li>Packagedateadded</li><li>PackageInfFilename</li><li>PackageClass</li><li>PackageProvider</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>DriverGroupId</li><li>DriverGroupName</li></ul> |
| `/operator:{equal | notequal |
/value:<value> |
Specifies the value to search on for the specified <attribute>. You can specify multiple values for a single /filtertype. The list below outlines the attributes you can specify for each filter. For more information about these attributes, see Driver and Package attributes. The attributes can include:<ul><li>PackageId. Specifies a valid GUID. For example:{4d36e972-e325-11ce-bfc1-08002be10318}.</li><li>PackageName. Specifies any string value.</li><li>PackageEnabled. Specifies Yes or No.</li><li>Packagedateadded. Specifies the date in the following format: YYYY/MM/DD</li><li>PackageInfFilename. Specifies any string value.</li><li>PackageClass. Specifies a valid class name or class GUID. For example: DiskDrive, Net, or {4d36e972-e325-11ce-bfc1-08002be10318}.</li><li>PackageProvider. Specifies any string value.</li><li>PackageArchitecture. Specifies x86, x64, or ia64.</li><li>PackagLocale. Specifies a valid language identifier. For example: en-US or es-ES.</li><li>PackageSigned. Specifies Yes or No.</li><li>PackagedatePublished. Specifies the date in the following format: YYYY/MM/DD.</li><li>Packageversion. Specifies the version in the following format: a.b.x.y. For example: 6.1.0.0.</li><li>Driverdescription. Specifies any string value.</li><li>DriverManufacturer. Specifies any string value.</li><li>DriverHardwareId. Specifies any string value.</li><li>DrivercompatibleId. Specifies any string value.</li><li>DriverExcludeId. Specifies any string value.</li><li>DriverGroupId. Specifies a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}.</li><li>DriverGroupName. Specifies any string value.</li></ul> |
Examples
To display information, type either:
wdsutil /get-alldriverpackages /server:MyWdsServer /show:all /filtertype:drivergroupname /operator:contains /value:printer /filtertype:packagearchitecture /operator:equal /value:x64 /value:x86
wdsutil /get-alldriverpackages /show:drivers /filtertype:packagedateadded /operator:greaterorequal /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.
