Share via


Get-SCLogicalSwitchVirtualNetworkAdapter

Gets a logical switch virtual network adapter.

Syntax

All (Default)

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

ById

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

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ById
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UplinkPortProfileSet

Specifies an uplink port profile set object.

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

Parameter properties

Type:UplinkPortProfileSet
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

-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.