Skip to content

Get SdnVMNetworkAdapterPortProfile

Adam Rudell edited this page Jan 6, 2023 · 3 revisions

Get-SdnVMNetworkAdapterPortProfile

SYNOPSIS

Retrieves the port profile applied to the virtual machine network interfaces.

SYNTAX

SingleVM (Default)

Get-SdnVMNetworkAdapterPortProfile -VMName <String> [-HostVmNic] [<CommonParameters>]

AllVMs

Get-SdnVMNetworkAdapterPortProfile [-AllVMs] [-HostVmNic] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

Get-SdnVMNetworkAdapterPortProfile -VMName 'VM01'

EXAMPLE 2

Get-SdnVMNetworkAdapterPortProfile -AllVMs

PARAMETERS

-VMName

Specifies the name of the virtual machine to be retrieved.

Type: String
Parameter Sets: SingleVM
Aliases:

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

-AllVMs

Switch to indicate to get all the virtual machines network interfaces on the hypervisor host.

Type: SwitchParameter
Parameter Sets: AllVMs
Aliases:

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

-HostVmNic

When true, displays Port Profiles of Host VNics. Otherwise displays Port Profiles of Vm VNics.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
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