Open sergey-s-betke opened 5 years ago
Why I must set SwitchName property, when I need to remove default Network adapter from VM?
SwitchName
xVMNetworkAdapter "RemoveDefaultNIC${RouterOSVM}" { Id = "${RouterOSVM} default NIC" Name = '*' SwitchName = '*' VMName = $RouterOSVM Ensure = 'Absent' DependsOn = "[xVMHyperV]${RouterOSVM}" }
dev
Details of the scenario you tried and the problem that is occurring
Why I must set
SwitchName
property, when I need to remove default Network adapter from VM?The DSC configuration that is used to reproduce the issue (as detailed as possible)
Version of the DSC module that was used ('dev' if using current dev branch)
dev