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

Update-Module Doesn't Correctly/Completely Upgrade From Previous Versions #92

Open
IamTHEvilONE opened this issue May 7, 2024 · 0 comments

Comments

@IamTHEvilONE
Copy link

  • MacOS Sonoma 14.4.1
  • PowerShell 7.4.2 (installed via Brew)
  • Rubrik PoSH Module version 9.0.0
  • RubrikSecurityCloud PoSH Module version 1.2 + 1.3

I've had to do the same thing when upgrading from 1.1 to 1.2, and subsequently 1.2 to 1.3.

running update-Module -Name RubrikSecurityCloud, the newer module doesn't seem to import automatically/correctly.

get-module -ListAvailable | grep -i Rub Script 9.0.0 Rubrik Desk {Connect-Rubrik, Disconnect-Rubrik, Export-RubrikDatabase, Export-RubrikReport…} Script 1.3 RubrikSecurityCloud Desk Script 1.2 RubrikSecurityCloud Desk {New-RscMutationFailoverCluster, New-RscMutationVmware, New-RscMutationMisc, New-RscMutationReport…}

If I manually import-module, it didn't seem to self resolve while 1.2. The workaround I've used is to remove the old modules (due to dependency) and then installing and importing again. Image below for the entire session to upgrade and get it running correctly.

image

Is there something to fix/improve here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant