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!