Get-VMAdaptersConnectedToEnabledIntentSwitch
Gets the adapters on the VM that are connected to the enabled intent switch.
Syntax
Default (Default)
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.
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
Specifies the name of the virtual machine.
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.