PowerShell Logo Small

Test-VMNetworkAdapter



This is the built-in help made by Microsoft for the command 'Test-VMNetworkAdapter', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Tests connectivity between virtual machines.

SYNTAX


Test-VMNetworkAdapter [-VMName] <String> [-ComputerName <String[]>] [-IsolationId <Int32>] [-Name <String>] [-NextHopMacAddress <String>] [-Passthru] [-Receiver] [-Sender]
[-VMNetworkAdapterName <String>] -ReceiverIPAddress <String> -SenderIPAddress <String> -SequenceNumber <Int32> [-Confirm] [-WhatIf] [<CommonParameters>]
Test-VMNetworkAdapter [-ComputerName <String[]>] [-IsolationId <Int32>] [-Name <String>] [-NextHopMacAddress <String>] [-Passthru] [-VMNetworkAdapterName <String>]
-ManagementOS -ReceiverIPAddress <String> -SenderIPAddress <String> -SequenceNumber <Int32> [-Confirm] [-WhatIf] [<CommonParameters>]
Test-VMNetworkAdapter [-VM] <VirtualMachine> [-IsolationId <Int32>] [-Name <String>] [-NextHopMacAddress <String>] [-Passthru] [-Receiver] [-Sender] [-VMNetworkAdapterName
<String>] -ReceiverIPAddress <String> -SenderIPAddress <String> -SequenceNumber <Int32> [-Confirm] [-WhatIf] [<CommonParameters>]
Test-VMNetworkAdapter [-VMNetworkAdapter] <VMNetworkAdapterBase> [-IsolationId <Int32>] [-NextHopMacAddress <String>] [-Passthru] [-Receiver] [-Sender] -ReceiverIPAddress
<String> -SenderIPAddress <String> -SequenceNumber <Int32> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Test-VMNetworkAdapter cmdlet tests connectivity between virtual machines by using Internet Control Message Protocol (ICMP) Ping packets. Ping verifies IP-level
connectivity to another TCP/IP computer by sending ICMP Echo Request messages.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=280117
Add-VMNetworkAdapter
Connect-VMNetworkAdapter
Disconnect-VMNetworkAdapter
Get-VMNetworkAdapter
Remove-VMNetworkAdapter
Rename-VMNetworkAdapter
Set-VMNetworkAdapter

REMARKS

<

Examples


Example 1: Test connectivity

PS C:\>Test-VMNetworkAdapter –VMName "ContosoVM01" –Receiver –SenderIPAddress "10.20.20.5" –ReceiverIPAddress "10.20.20.6" –VMNetworkAdapterName "ContosoNic01"



This command tests connectivity by using the virtual network adapter named ContosoNic01. The command targets the receiver virtual machine.