Share via


/get-AllDriverPackages

 

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

Displays information about all the driver packages on a server that match the specified search criteria.

Syntax

WDSUTIL /Get-AllDriverPackages [/Server:<Server name>] [/Show:{Drivers | Files | All}] [/FilterType:<Filter Type> /Operator:{Equal | NotEqual | GreaterOrEqual | LessOrEqual | Contains} /Value:<Value> [/Value:<Value> ...]]

Parameters

Parameter

Description

[/Server:<Server name>]

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.

[/Show: {Drivers | Files | All}]

Indicates the package information to display. If /Show is not 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. All displays drivers and files.

/FilterType:<Filter Type>

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.

<Filter Type> can be one of the following:

PackageId

PackageName

PackageEnabled

PackageDateAdded

PackageInfFilename

PackageClass

PackageProvider

PackageArchitecture

PackageLocale

PackageSigned

PackageDatePublished

PackageVersion

DriverDescription

DriverManufacturer

DriverHardwareId

DriverCompatibleId

DriverExcludeId

DriverGroupId

DriverGroupName

/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 (https://go.microsoft.com/fwlink/?LinkId=166895).

  • PackageId - Specify a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}.

  • PackageName – Specify any string value.

  • PackageEnabled - Specify Yes or No.

  • PackageDateAdded - Specify the date in the following format: YYYY/MM/DD

  • PackageInfFilename – Specify any string value.

  • PackageClass - Specify a valid class name or class GUID. For example: DiskDrive, Net, or {4d36e972-e325-11ce-bfc1-08002be10318}.

  • PackageProvider – Specify any string value.

  • PackageArchitecture - Specify x86, x64, or ia64.

  • PackageLocale - Specify a valid language identifier. For example: en-US or es-ES.

  • PackageSigned - Specify Yes or No.

  • PackageDatePublished - Specify the date in the following format: YYYY/MM/DD

  • PackageVersion – Specify the version in the following format: a.b.x.y. For example: 6.1.0.0

  • DriverDescription – Specify any string value.

  • DriverManufacturer – Specify any string value.

  • DriverHardwareId - Specify any string value.

  • DriverCompatibleId - Specify any string value.

  • DriverExcludeId – Specify any string value.

  • DriverGroupId – Specify a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}.

  • DriverGroupName – Specify any string value.

Examples

To display information, type one of the following:

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

Additional references

Command-Line Syntax Key

-get-DriverPackage

-get-DriverPackageFile