Get-CMDriverPackage
Get-CMDriverPackage
Gets a driver package.
Syntax
Parameter Set: SearchByName
Get-CMDriverPackage [-Name <String> ] [-SecuredScopeNames <String> ] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Get-CMDriverPackage -Id <String[]> [-SecuredScopeNames <String> ] [ <CommonParameters>]
Detailed Description
The Get-CMDriverPackage cmdlet gets a driver package.
Parameters
-Id<String[]>
Specifies an array of identifiers for a driver package.
Aliases |
PackageId |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies the name of a driver package.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SecuredScopeNames<String>
Specifies the names of security scopes. A security scope name can be Default or the name of a custom-created security scope.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Get a driver package that is specified by its identifier.
This command gets a driver package that is specified by its identifier.
PS C:\> Get-CMDriverPackage -Id "CM100042"