Get-CMDriver

Gets a device driver.

Syntax

Get-CMDriver
   [-DisableWildcardHandling]
   -DriverPackageId <String>
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMDriver [-DisableWildcardHandling] -DriverPackageName  [-ForceWildcardHandling]
 []
Get-CMDriver [-DisableWildcardHandling] [-ForceWildcardHandling] -Id  []
Get-CMDriver [-DisableWildcardHandling] [-ForceWildcardHandling] -InputObject 
 []
Get-CMDriver [-DisableWildcardHandling] [-ForceWildcardHandling] [-Name ] []

Description

The Get-CMDriver cmdlet gets a device driver.

Examples

Example 1: Get a device driver

PS C:\> Get-CMDriver -Name "Driver01"

This command gets the driver named Driver01.

Required Parameters

-DriverPackageId

Specifies the ID of a driver package.

Type:String
Aliases:PackageId
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DriverPackageName

Specifies the name of a driver package.

Type:String
Aliases:PackageName
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Id

Specifies the ID of a driver.

Type:Int32
Aliases:CIId, DriverId, CI_ID
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Specifies a driver package object. To obtain a driver package object, use the Get-CMDriverPackage cmdlet.

Type:IResultObject
Aliases:DriverPackage
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of a driver.

Type:String
Aliases:LocalizedDisplayName, DriverName
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False