Get-VMAdaptersConnectedToEnabledIntentSwitch
Gets the adapters on the VM that are connected to the enabled intent switch.
Syntax
Get-VMAdaptersConnectedToEnabledIntentSwitch
[[-VMName] <String>]
[[-VM] <VirtualMachineBase>]
[<CommonParameters>]
Description
Retrieves the adapters on the VM that are connected to the enabled intent switch.
Examples
EXAMPLE 1
Get-VMAdaptersConnectedToEnabledIntentSwitch -VMName "MyVM"
This example retrieves the network adapter connected to the enabled intent switch from the VM named
MyVM
.
Parameters
-VM
The VM object.
Type: | VirtualMachineBase |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VMName
Specifies the name of the virtual machine.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |