I'm building a PS Script with the Hyperv Library.
I have one Script where i want to remove the legacy network adapter from my VM's.
I added them to boot WDS for remote install...
I tested this:
Remove-VMNIC -NIC "Legacy Network Adapter" -VM $vm
$vm is comming from Input from the user. But the command doesn't remove the nic.
Is "Legacy Network Adapter" the right nic? i think it uses the name, not?