Freigeben über


Get-SCVirtualSwitchExtension

Gets a virtual switch extension.

Syntax

Get-SCVirtualSwitchExtension
   [[-Name] <String>]
   [-VMMServer <ServerConnection>]
   [<CommonParameters>]
Get-SCVirtualSwitchExtension
   [[-Name] <String>]
   [-VMMServer <ServerConnection>]
   -ID <Guid>
   [<CommonParameters>]
Get-SCVirtualSwitchExtension
   [[-Name] <String>]
   [-VMMServer <ServerConnection>]
   -VirtualSwitchExtensionManager <VirtualSwitchExtensionManager>
   [<CommonParameters>]

Description

The Get-SCVirtualSwitchExtension cmdlet gets one or more virtual switch extension objects.

Examples

Example 1: Get a virtual switch extension by its name

PS C:\> Get-SCVirtualSwitchExtension -Name "VirtualSwitchExtension01"

This command gets the virtual switch extension object named VirtualSwitchExtension01 and returns information about the object for the user.

Parameters

-ID

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

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

-Name

Specifies the name of a Virtual Machine Manager (VMM) object.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VirtualSwitchExtensionManager

Specifies a virtual switch extension manager object. To obtain a virtual switch extension manager object, use the Get-SCVirtualSwitchExtensionManager cmdlet.

Type:VirtualSwitchExtensionManager
Position:Named
Default value:None
Required:True
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