Hello, MrVmware9423-
If you are talking about network adapters that are "not connected", you can use something like:
Get-VM | ?{$_.PowerState -eq "PoweredOn"} | %{
$strVMName = $_.Name; Get-NetworkAdapter -VM $_ | `
select @{n="VMName"; e={$strVMName}},Name,NetworkName,ConnectionState
} | ?{$_.ConnectionState.Connected -eq $false}
That gets all powered on VMs, gets their network adapters, and returns info about ones whose ConnectionState.Connected property is $false. The output should be something like:
VMName Name NetworkName ConnectionState
------ ---- ----------- ---------------
dVM0 Network adapter 1 VM Network NotConnected, NoGuestControl, StartConnected
dVM8 Network adapter 3 someOtherNet NotConnected, NoGuestControl, StartConnected
...
How does that do for you?