|
| 1 | +--- |
| 2 | +description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. |
| 3 | +external help file: Microsoft.FailoverClusters.PowerShell.dll-Help.xml |
| 4 | +Module Name: FailoverClusters |
| 5 | +ms.date: 01/22/2025 |
| 6 | +online version: https://learn.microsoft.com/powershell/module/failoverclusters/get-accelnetvm?view=windowsserver2025-ps&wt.mc_id=ps-gethelp |
| 7 | +schema: 2.0.0 |
| 8 | +title: Get-AccelNetVM |
| 9 | +--- |
| 10 | + |
| 11 | +# Get-AccelNetVM |
| 12 | + |
| 13 | +## SYNOPSIS |
| 14 | +Gets VMs with Accelerated Networking. |
| 15 | + |
| 16 | +## SYNTAX |
| 17 | + |
| 18 | +``` |
| 19 | +Get-AccelNetVM [[-VMName] <String>] [[-VM] <VirtualMachineBase>] [<CommonParameters>] |
| 20 | +``` |
| 21 | + |
| 22 | +## DESCRIPTION |
| 23 | + |
| 24 | +Get VMs with Accelerated Networking. |
| 25 | + |
| 26 | +## EXAMPLES |
| 27 | + |
| 28 | +### EXAMPLE 1 |
| 29 | + |
| 30 | +```powershell |
| 31 | +Get-AccelNetVM -VMName "MyVM" |
| 32 | +``` |
| 33 | + |
| 34 | +This example retrieves a VM named `MyVM`. |
| 35 | + |
| 36 | +If no VM name is provided, all VM names are retrieved. |
| 37 | + |
| 38 | +### EXAMPLE 2 |
| 39 | + |
| 40 | +```powershell |
| 41 | +$vm = Get-VM -Name "MyVM" |
| 42 | +Get-AccelNetVM -VM $vm |
| 43 | +``` |
| 44 | + |
| 45 | +This example retrieves the VM object for a VM named `MyVM`. |
| 46 | + |
| 47 | +## PARAMETERS |
| 48 | + |
| 49 | +### -VMName |
| 50 | + |
| 51 | +The Virtual Machine name. |
| 52 | + |
| 53 | +```yaml |
| 54 | +Type: String |
| 55 | +Parameter Sets: (All) |
| 56 | +Aliases: |
| 57 | + |
| 58 | +Required: False |
| 59 | +Position: 1 |
| 60 | +Default value: None |
| 61 | +Accept pipeline input: False |
| 62 | +Accept wildcard characters: False |
| 63 | +``` |
| 64 | +
|
| 65 | +### -VM |
| 66 | +
|
| 67 | +The VM object. |
| 68 | +
|
| 69 | +```yaml |
| 70 | +Type: VirtualMachineBase |
| 71 | +Parameter Sets: (All) |
| 72 | +Aliases: |
| 73 | + |
| 74 | +Required: False |
| 75 | +Position: 2 |
| 76 | +Default value: None |
| 77 | +Accept pipeline input: True (ByValue) |
| 78 | +Accept wildcard characters: False |
| 79 | +``` |
| 80 | +
|
| 81 | +### CommonParameters |
| 82 | +
|
| 83 | +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, |
| 84 | +-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, |
| 85 | +-WarningAction, and -WarningVariable. For more information, see |
| 86 | +[about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters). |
| 87 | +
|
| 88 | +## INPUTS |
| 89 | +
|
| 90 | +## OUTPUTS |
| 91 | +
|
| 92 | +## NOTES |
| 93 | +
|
| 94 | +## RELATED LINKS |
| 95 | +
|
| 96 | +[Disable-AccelNetVM](disable-accelnetvm.md) |
| 97 | +
|
| 98 | +[Enable-AccelNetVM](enable-accelnetvm.md) |
| 99 | +
|
| 100 | +[Set-AccelNetVM](set-accelnetvm.md) |
0 commit comments