Skip to content

Add functionality to remove old modules when machine is updated to a new profile #27

@viananth

Description

@viananth

When user updates machine with a newer profile (eg. 'latest'), old modules must be removed.
"Update-AzureRmProfile -Profile 'Latest' [-Confirm] [-Force] [-RemovePreviousVersions]" will install latest modules and uninstall old modules.
-Confirm will ask user if it can download and install required modules.
-Force will override the confirmation
-RemovePreviousVersionswill uninstall old modules
Without -RemovePreviousVersions flag, the user will be prompted for confirmation of old modules removal.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions