Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 728

How to find out if NICs are connected or disconnected in VMM?

$
0
0

Hi,

I'm trying to write a script that determines whether or not a NIC is connected or disconnected within VMM...

I've got the following so far -

$NIC_Details = Get-SCVirtualMachine -VMMServer $VMM_Server_Name -Name $VM_Name | Get-SCVirtualNetworkAdapter

However I cannot see anything obvious to determine whether a NIC is connected or disconnected.

The best option I've got so far is possibly playing around with the VirtualNetworkAdapters field.

$NIC_Details = Get-SCVirtualMachine -VMMServer $VMM_Server_Name -Name $VM_Name | Select-Object -Property VirtualNetworkAdapters

Anybody got any other suggestions? Thanks in advance!

 

Viewing all articles
Browse latest Browse all 728

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>