Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMNetworkAdapter: SwitchName should not be a mandatory property #171

Open
sergey-s-betke opened this issue May 10, 2019 · 0 comments
Open
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.

Comments

@sergey-s-betke
Copy link

sergey-s-betke commented May 10, 2019

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)

            xVMNetworkAdapter "RemoveDefaultNIC${RouterOSVM}"
            {
                Id = "${RouterOSVM} default NIC"
                Name = '*'
                SwitchName = '*'
                VMName = $RouterOSVM
                Ensure = 'Absent'
                DependsOn = "[xVMHyperV]${RouterOSVM}"
            }

Version of the DSC module that was used ('dev' if using current dev branch)

dev

@SteveL-MSFT SteveL-MSFT removed this from Backlog in powershell/dscresources Nov 27, 2019
@aromano2 aromano2 added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. labels Jan 30, 2020
@johlju johlju changed the title Switch - is not mandatory property for xVMNetworkAdapter VMNetworkAdapter: Switch should not be a mandatory property Jun 12, 2022
@johlju johlju added the breaking change When used on an issue, the issue has been determined to be a breaking change. label Jun 12, 2022
@johlju johlju changed the title VMNetworkAdapter: Switch should not be a mandatory property VMNetworkAdapter: SwitchName should not be a mandatory property Jun 12, 2022
@johlju johlju removed the breaking change When used on an issue, the issue has been determined to be a breaking change. label Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

No branches or pull requests

3 participants