wdsutil get-alldriverpackages
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 | all}] |
Indicates the package information to display. If /show isn't specified, the default is to return only the driver package metadata. Drivers displays the list of drivers in the package, files displays the list of files in the package, and all displays drivers and 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
|
/operator:{equal | notequal | greaterorequal | lessorequal | contains} |
Specifies the relationship between the attribute and the values. You can specify contains only with string attributes. You can specify greaterorequal and lessorequal only with date and version attributes. |
/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:
|
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