Get-SCDriverPackage
Gets a driver package stored in a VMM library share.
Syntax
Connection (Default)
Get-SCDriverPackage
[-VMMServer <ServerConnection>]
[<CommonParameters>]
PNPIdMatching
Get-SCDriverPackage
[[-PnPID] <System.Collections.Generic.List`1[System.String]>]
[-VMMServer <ServerConnection>]
[<CommonParameters>]
TagMatching
Get-SCDriverPackage
[[-Tag] <System.Collections.Generic.List`1[System.String]>]
[-VMMServer <ServerConnection>]
[<CommonParameters>]
All
Get-SCDriverPackage
[-VMMServer <ServerConnection>]
[-All]
[<CommonParameters>]
ID
Get-SCDriverPackage
[-VMMServer <ServerConnection>]
[-ID <Guid>]
[<CommonParameters>]
Description
The Get-SCDriverPackage cmdlet gets one or more driver packages stored in a Virtual Machine Manager (VMM) library share.
Examples
Example 1: Get all driver packages stored in the VMM library
PS C:\> Get-SCDriverPackage
This command gets all driver packages stored in the VMM library and displays information about each driver package to the user.
Example 2: Get a driver package by its Plug and Play ID
PS C:\> Get-SCDriverPackage -PnPID "ROOT\VMBUS"
This command gets the driver package that has a Plug and Play ID (PnPID) of "ROOT\VMBUS".
Example 3: Get all driver packages with a specified tag value
PS C:\> Get-SCDriverPackage -Tag "Production"
This command gets all driver packages that have a tag value of Production.
Parameters
-All
Indicates that this cmdlet gets all subordinate objects independent of the parent object.
For example, the command Get-SCVirtualDiskDrive -All gets all virtual disk drive objects regardless of the virtual machine object or template object that each virtual disk drive object is associated with.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
All
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ID
Specifies the numerical identifier as a globally unique identifier, or GUID, for a specific object.
Parameter properties
| Type: | Guid |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
ID
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-PnPID
Specifies the plug and play (PnP) ID that the driver package supports. You can use this parameter to query for driver packages with matching PnP ID values.
Parameter properties
| Type: | System.Collections.Generic.List`1[System.String] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
PNPIdMatching
| Position: | 0 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Tag
Specifies a word or phrase to associate with an object so that you can search for all objects with the specified set of tags. You can search for a subset of tags, or you can search for the full set of tags.
Parameter properties
| Type: | System.Collections.Generic.List`1[System.String] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
TagMatching
| Position: | 0 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-VMMServer
Specifies a VMM server object.
Parameter properties
| Type: | ServerConnection |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Outputs
DriverPackage
This cmdlet returns an array of DriverPackage objects.