Get-SCLogicalSwitchVirtualNetworkAdapter

Gets a logical switch virtual network adapter.

Syntax

Get-SCLogicalSwitchVirtualNetworkAdapter [[-Name] <String>] -ID <Guid>
 [-UplinkPortProfileSet <UplinkPortProfileSet>] [-VMMServer <ServerConnection>] [<CommonParameters>]

Description

The Get-SCLogicalSwitchVirtualNetworkAdapter cmdlet gets a logical switch virtual network adapter.

Examples

Example 1: Get a logical switch virtual network adapter

PS C:\> $HostVNicVar = Get-SCLogicalSwitchVirtualNetworkAdapter -Name "LogSw01_hostMgmt"

This command gets a logical switch virtual network adapter by its name.

Parameters

-ID

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

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

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

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

Specifies an uplink port profile set object.

To obtain an uplink port profile set object, use the Get-SCUplinkPortProfileSet cmdlet.

Type:UplinkPortProfileSet
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMMServer

Specifies a VMM server object.

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