Edit

Share via


Get-AccelNetVM

Gets VMs with Accelerated Networking.

Syntax

Default (Default)

Get-AccelNetVM
    [[-VMName] <String>]
    [[-VM] <VirtualMachineBase>]
    [<CommonParameters>]

Description

Retrieves VMs where AccelNet is enabled.

Examples

EXAMPLE 1

Get-AccelNetVM -VMName "MyVM"

This example retrieves a VM named MyVM.

If the -VMName parameter isn't provided, all VM names are retrieved.

EXAMPLE 2

$vm = Get-VM -Name "MyVM"
Get-AccelNetVM -VM $vm

This example retrieves the VM object for a VM named MyVM.

Parameters

-VM

The VM object.

Parameter properties

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

Parameter sets

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

-VMName

The Virtual Machine name.

Parameter properties

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

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
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.