Get VMs with disconnected virtual ethernet


PowerCLI > Get-NetworkAdapter (get-vm | where {$\_.powerstate -eq poweredon}) |
Where { $\_.connectionstate.connected -eq $null } | select parent, connectionstate

Parent                                  ConnectionState
------                                  ---------------
licenser                                NotConnected, GuestControl, NoStartC...
vmware