Freigeben über


Get-SCDriverPackage

Gets a driver package stored in a VMM library share.

Syntax

Get-SCDriverPackage
   [-VMMServer <ServerConnection>]
   [<CommonParameters>]
Get-SCDriverPackage
   [-VMMServer <ServerConnection>]
   [[-PnPID] <System.Collections.Generic.List`1[System.String]>]
   [<CommonParameters>]
Get-SCDriverPackage
   [-VMMServer <ServerConnection>]
   [[-Tag] <System.Collections.Generic.List`1[System.String]>]
   [<CommonParameters>]
Get-SCDriverPackage
   [-VMMServer <ServerConnection>]
   [-All]
   [<CommonParameters>]
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.

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

-ID

Specifies the numerical identifier as a globally unique identifier, or GUID, for a specific object.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters: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.

Type:System.Collections.Generic.List`1[System.String]
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters: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.

Type:System.Collections.Generic.List`1[System.String]
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Outputs

DriverPackage[]

This cmdlet returns an array of DriverPackage objects.