Skip to content

Get SdnVfpVmSwitchPort

Adam Rudell edited this page May 21, 2025 · 5 revisions

Get-SdnVfpVmSwitchPort

SYNOPSIS

Returns a list of ports from within virtual filtering platform.

SYNTAX

Default (Default)

Get-SdnVfpVmSwitchPort [-ComputerName <String[]>] [-Credential <PSCredential>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

Port

Get-SdnVfpVmSwitchPort [-PortName <Guid>] [-ComputerName <String[]>] [-Credential <PSCredential>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

VMID

Get-SdnVfpVmSwitchPort [-VMID <String>] [-ComputerName <String[]>] [-Credential <PSCredential>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

VMName

Get-SdnVfpVmSwitchPort [-VMName <String>] [-ComputerName <String[]>] [-Credential <PSCredential>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

MacAddress

Get-SdnVfpVmSwitchPort [-MacAddress <String>] [-ComputerName <String[]>] [-Credential <PSCredential>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

Get-SdnVfpVmSwitchPort -ComputerName 'Server01','Server02'

EXAMPLE 2

Get-SdnVfpVmSwitchPort -ComputerName 'RemoteComputer' -Credential (Get-Credential)

EXAMPLE 3

Get-SdnVfpVmSwitchPort -VMName 'SDN-MUX01'

EXAMPLE 4

Get-SdnVfpVmSwitchPort -VMID 699FBDA2-15A0-4D73-A6EF-9D55623A27CE

PARAMETERS

-PortName

The port name of the VFP interface

Type: Guid
Parameter Sets: Port
Aliases:

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

-VMID

The ID of the Virtual Machine

Type: String
Parameter Sets: VMID
Aliases:

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

-VMName

The Name of the Virtual Machine

Type: String
Parameter Sets: VMName
Aliases:

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

-MacAddress

The MacAddress of the interface

Type: String
Parameter Sets: MacAddress
Aliases:

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

-ComputerName

Type the NetBIOS name, an IP address, or a fully qualified domain name of one or more remote computers.

Type: String[]
Parameter Sets: (All)
Aliases:

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

-Credential

Specifies a user account that has permission to perform this action. The default is the current user.

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: [System.Management.Automation.PSCredential]::Empty
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Documentation

How To Guides:

Troubleshooting Guides

Learning

Functions

Clone this wiki locally