PowervRA
PowervRA copied to clipboard
Install fails on PowerShell v7.1.3 with Admin rights requirements
Installing PowerVRA Module fails with below error -
` Install-Module PowerVRA -Scope CurrentUser -Force -Verbose
VERBOSE: Acquiring providers for assembly: C:\program files\powershell\7\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.CoreProviders.dll VERBOSE: Acquiring providers for assembly: C:\program files\powershell\7\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.MetaProvider.PowerShell.dll VERBOSE: Acquiring providers for assembly: C:\program files\powershell\7\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.ArchiverProviders.dll VERBOSE: Acquiring providers for assembly: C:\program files\powershell\7\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.NuGetProvider.dll VERBOSE: Using the provider 'PowerShellGet' for searching packages. VERBOSE: The -Repository parameter was not specified. PowerShellGet will use all of the registered repositories. VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'. VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'. VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='PowerVRA'' for ''. VERBOSE: Total package yield:'1' for the specified package 'PowerVRA'. VERBOSE: Performing the operation "Install-Module" on target "Version '5.2.0' of module 'PowervRA'". VERBOSE: The installation scope is specified to be 'CurrentUser'. VERBOSE: The specified module will be installed in 'C:\Users\username\Documents\PowerShell\Modules'. VERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'. VERBOSE: Downloading module 'PowervRA' with version '5.2.0' from the repository 'https://www.powershellgallery.com/api/v2'. VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='PowervRA'' for ''. VERBOSE: Validating the 'PowervRA' module contents under 'C:\Users\username\AppData\Local\Temp\120204988\PowervRA.5.2.0' path. VERBOSE: Test-ModuleManifest successfully validated the module manifest file 'C:\Users\username\AppData\Local\Temp\120204988\PowervRA.5.2.0'.vRA.VERBOSE: Validating the authenticode signature and publisher of the catalog file or module manifest file of the module 'PowervRA'. VERBOSE: Catalog file 'PowervRA.cat' is not found in the contents of the module 'PowervRA' being installed. VERBOSE: For publisher validation, current module 'PowervRA' with version '5.2.0' with publisher name '' from root certificate authority ''. Is this module signed by Microsoft: 'False'.. VERBOSE: For publisher validation, using the previously-installed module 'PowervRA' with version '5.2.0' under 'C:\Users\username\Documents\PowerShell\Modules\PowervRA\5.2.0' with publisher name '' from root certificate authority ''. Is this module signed by Microsoft: 'False'. VERBOSE: Checking for possible command collisions for the module 'PowervRA' commands. Install-Package: C:\program files\powershell\7\Modules\PowerShellGet\PSModule.psm1:9711:34 Line | 9711 | … talledPackages = PackageManagement\Install-Package @PSBoundParameters | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Administrator rights are required to install or update. Log on to the computer with an account that has Administrator rights, | and then try again, or install by adding "-Scope CurrentUser" to your command. You can also try running the Windows PowerShell | session with elevated rights (Run as Administrator). `
Operating System - Win 10 PowerShell Version - 7.1.3 `$PSVersionTable
Name Value
PSVersion 7.1.3 PSEdition Core GitCommitId 7.1.3 OS Microsoft Windows 10.0.18363 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0, 5.0, 5.1.10032.0, 6.0.0, 6.1.0, 6.2.0, 7.0.0, 7.1.3} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0 `
I have ensured that I have admin access on machine and PowerShell is launched as Administrator. Any other module installs fine, just PowerVRA.
I have never installed this module on this machine before.