Get-SCLogicalSwitchVirtualNetworkAdapter

Gets a logical switch virtual network adapter.

Syntax

Get-SCLogicalSwitchVirtualNetworkAdapter
   [[-Name] <String>]
   [-VMMServer <ServerConnection>]
   [-UplinkPortProfileSet <UplinkPortProfileSet>]
   [<CommonParameters>]
Get-SCLogicalSwitchVirtualNetworkAdapter
   [[-Name] <String>]
   [-VMMServer <ServerConnection>]
   -ID <Guid>
   [-UplinkPortProfileSet <UplinkPortProfileSet>]
   [<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
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

-UplinkPortProfileSet

Specifies an uplink port profile set object.

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

Type:UplinkPortProfileSet
Position:Named
Default value:None
Required:False
Accept pipeline input:True
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