Skip to content

Conversation

@hyonholee
Copy link
Contributor

@hyonholee hyonholee commented Apr 6, 2018

This PR resolves the following issue:
#5838

https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/42

Description

Add DisableVMAgent parameter to Set-AzureRmVMOperatingSystem cmdlets, and fix the behavior when neither ProvisionVMAgent nor DisableVMAgent are given.

Checklist

@markcowl
Copy link
Member

markcowl commented Apr 9, 2018

@hyonholee Provision / Disable VM Agent should be mutually exclusive by parameter set. Also, please assign the appropriate milestone.

@hyonholee
Copy link
Contributor Author

@markcowl I updated the PR by adding two additional parameter sets so that Provision and Disable Agent are mutually exclusive. Thanks.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hyonholee is this else block necessary? It looks like we just need the if and else-if blocks

@hyonholee
Copy link
Contributor Author

@markcowl could you merge if there is no more concern? Thanks.

@markcowl
Copy link
Member

markcowl commented Apr 18, 2018

@cormacpayne cormacpayne merged commit 53d2a11 into Azure:preview Apr 19, 2018
@hyonholee hyonholee deleted the disable branch April 20, 2018 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants