VMware Cloud Community
AnotherPassword
Enthusiast
Enthusiast

Upgrading powervra 3.6.0 to vra 8.1 compatible version 4.1.1

Looking at docs, powervra is included per docs 'Note: The PowerCLI runtime includes PowerShell and the following modules: VMware.PowerCLI, PowerNSX, PowervRA.'

However, it seems the version on vra 8.1 is 3.6.0, and I need to get 4.1.1 in it's place. I have done an install-moduel and and update-module to 4.1.1, but it still seems powershell on vra does not see it as avaialable. I would think doing update-module woudl fix it but seems not. How to I point powershell to the new version of powervra, or updte current?

Install log: 

------------------

update-module
2020-09-10 11:54:48.000 -05:00INFOVERBOSE: Acquiring providers for assembly: /usr/lib/powershell/Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.CoreProviders.dll
2020-09-10 11:54:48.000 -05:00INFOVERBOSE: Acquiring providers for assembly: /usr/lib/powershell/Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.ArchiverProviders.dll
2020-09-10 11:54:48.000 -05:00INFOVERBOSE: Acquiring providers for assembly: /usr/lib/powershell/Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.MetaProvider.PowerShell.dll
2020-09-10 11:54:48.000 -05:00INFOVERBOSE: Acquiring providers for assembly: /usr/lib/powershell/Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.NuGetProvider.dll
2020-09-10 11:54:49.000 -05:00INFOVERBOSE: Checking for updates for module 'PowervRA'.
2020-09-10 11:54:50.000 -05:00INFOVERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
2020-09-10 11:54:50.000 -05:00INFOVERBOSE: Using the provider 'PowerShellGet' for searching packages.
2020-09-10 11:54:50.000 -05:00INFOVERBOSE: Using the specified source names : 'PSGallery'.
2020-09-10 11:54:50.000 -05:00INFOVERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
2020-09-10 11:54:50.000 -05:00INFOVERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
2020-09-10 11:54:51.000 -05:00INFOVERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='PowervRA'' for ''.
2020-09-10 11:54:52.000 -05:00INFOVERBOSE: Total package yield:'1' for the specified package 'PowervRA'.
2020-09-10 11:54:52.000 -05:00INFOVERBOSE: Performing the operation "Update-Module" on target "Version '3.6.0' of module 'PowervRA', updating to version '4.1.1'".
2020-09-10 11:54:52.000 -05:00INFOVERBOSE: The installation scope is specified to be 'CurrentUser'.
2020-09-10 11:54:52.000 -05:00INFOVERBOSE: The specified module will be installed in '/root/.local/share/powershell/Modules'.
2020-09-10 11:54:52.000 -05:00INFOVERBOSE: An update for the module 'PowervRA' was found with version '4.1.1'.
2020-09-10 11:54:52.000 -05:00INFOVERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
2020-09-10 11:54:52.000 -05:00INFOVERBOSE: Downloading module 'PowervRA' with version '4.1.1' from the repository 'https://www.powershellgallery.com/api/v2'.
2020-09-10 11:54:52.000 -05:00INFOVERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='PowervRA'' for ''.
2020-09-10 11:54:53.000 -05:00INFO                                                                                                                                                                                                                                                                                                                                                                                                                VERBOSE: InstallPackage' - name='PowervRA', version='4.1.1',destination='/tmp/22207900'
2020-09-10 11:54:53.000 -05:00INFOVERBOSE: DownloadPackage' - name='PowervRA', version='4.1.1',destination='/tmp/22207900/PowervRA.4.1.1/PowervRA.4.1.1.nupkg', uri='https://www.powershellgallery.com/api/v2/package/PowervRA/4.1.1'
2020-09-10 11:54:53.000 -05:00INFOVERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/PowervRA/4.1.1'.
2020-09-10 11:54:53.000 -05:00INFOVERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/PowervRA/4.1.1'.
2020-09-10 11:54:53.000 -05:00INFOVERBOSE: Completed downloading 'PowervRA'.
2020-09-10 11:54:53.000 -05:00INFOVERBOSE: InstallPackageLocal' - name='PowervRA', version='4.1.1',destination='/tmp/22207900'
2020-09-10 11:54:53.000 -05:00INFO                                                                                                                                                                                                                                                                                                                                                                                                                VERBOSE: Validating the 'PowervRA' module contents under '/tmp/22207900/PowervRA.4.1.1' path.
2020-09-10 11:54:53.000 -05:00INFOVERBOSE: Test-ModuleManifest successfully validated the module manifest file '/tmp/22207900/PowervRA.4.1.1'.
2020-09-10 11:54:53.000 -05:00INFOVERBOSE: Module 'PowervRA' was installed successfully to path '/root/.local/share/powershell/Modules/PowervRA/4.1.1'.

update-module

2020-09-10 11:54:48.000 -05:00INFOVERBOSE: Acquiring providers for assembly: /usr/lib/powershell/Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.CoreProviders.dll

2020-09-10 11:54:48.000 -05:00INFOVERBOSE: Acquiring providers for assembly: /usr/lib/powershell/Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.ArchiverProviders.dll

2020-09-10 11:54:48.000 -05:00INFOVERBOSE: Acquiring providers for assembly: /usr/lib/powershell/Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.MetaProvider.PowerShell.dll

2020-09-10 11:54:48.000 -05:00INFOVERBOSE: Acquiring providers for assembly: /usr/lib/powershell/Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.NuGetProvider.dll

2020-09-10 11:54:49.000 -05:00INFOVERBOSE: Checking for updates for module 'PowervRA'.

2020-09-10 11:54:50.000 -05:00INFOVERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.

2020-09-10 11:54:50.000 -05:00INFOVERBOSE: Using the provider 'PowerShellGet' for searching packages.

2020-09-10 11:54:50.000 -05:00INFOVERBOSE: Using the specified source names : 'PSGallery'.

2020-09-10 11:54:50.000 -05:00INFOVERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.

2020-09-10 11:54:50.000 -05:00INFOVERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.

2020-09-10 11:54:51.000 -05:00INFOVERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='PowervRA'' for ''.

2020-09-10 11:54:52.000 -05:00INFOVERBOSE: Total package yield:'1' for the specified package 'PowervRA'.

2020-09-10 11:54:52.000 -05:00INFOVERBOSE: Performing the operation "Update-Module" on target "Version '3.6.0' of module 'PowervRA', updating to version '4.1.1'".

2020-09-10 11:54:52.000 -05:00INFOVERBOSE: The installation scope is specified to be 'CurrentUser'.

2020-09-10 11:54:52.000 -05:00INFOVERBOSE: The specified module will be installed in '/root/.local/share/powershell/Modules'.

2020-09-10 11:54:52.000 -05:00INFOVERBOSE: An update for the module 'PowervRA' was found with version '4.1.1'.

2020-09-10 11:54:52.000 -05:00INFOVERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.

2020-09-10 11:54:52.000 -05:00INFOVERBOSE: Downloading module 'PowervRA' with version '4.1.1' from the repository 'https://www.powershellgallery.com/api/v2'.

2020-09-10 11:54:52.000 -05:00INFOVERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='PowervRA'' for ''.

2020-09-10 11:54:53.000 -05:00INFO                                                                                                                                                                                                                                                                                                                                                                                                                VERBOSE: InstallPackage' - name='PowervRA', version='4.1.1',destination='/tmp/22207900'

2020-09-10 11:54:53.000 -05:00INFOVERBOSE: DownloadPackage' - name='PowervRA', version='4.1.1',destination='/tmp/22207900/PowervRA.4.1.1/PowervRA.4.1.1.nupkg', uri='https://www.powershellgallery.com/api/v2/package/PowervRA/4.1.1'

2020-09-10 11:54:53.000 -05:00INFOVERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/PowervRA/4.1.1'.

2020-09-10 11:54:53.000 -05:00INFOVERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/PowervRA/4.1.1'.

2020-09-10 11:54:53.000 -05:00INFOVERBOSE: Completed downloading 'PowervRA'.

2020-09-10 11:54:53.000 -05:00INFOVERBOSE: InstallPackageLocal' - name='PowervRA', version='4.1.1',destination='/tmp/22207900'

2020-09-10 11:54:53.000 -05:00INFO                                                                                                                                                                                                                                                                                                                                                                                                                VERBOSE: Validating the 'PowervRA' module contents under '/tmp/22207900/PowervRA.4.1.1' path.

2020-09-10 11:54:53.000 -05:00INFOVERBOSE: Test-ModuleManifest successfully validated the module manifest file '/tmp/22207900/PowervRA.4.1.1'.

2020-09-10 11:54:53.000 -05:00INFOVERBOSE: Module 'PowervRA' was installed successfully to path '/root/.local/share/powershell/Modules/PowervRA/4.1.1'.

0 Kudos
0 Replies