CmdID / PowerShell / Cmdlets / Get
Get-VMAdaptersConnectedToEnabledIntentSwitch
Gets the adapters on the VM that are connected to the enabled intent switch. Windows Server PowerShell reference
From the Windows Server PowerShell reference 2 parameters Its page in the reference
Parameters
-VMNameSpecifies the name of the virtual machine.-VMThe VM object.