vmware / powershell-module-for-vmware-cloud-foundation-password-management

PowerShell Module for VMware Cloud Foundation Password Management
https://vmware.github.io/powershell-module-for-vmware-cloud-foundation-password-management/
BSD 2-Clause "Simplified" License
11 stars 9 forks source link

`Test-VcfPasswordManagementPrereq ` shows errors if multiple version are installed #172

Closed joisika closed 5 months ago

joisika commented 6 months ago

Code of Conduct

VMware Cloud Foundation

5.1.0.0

PowerShell Version

7.4.1

PowerCLI Version

13.2.1

Module Version

1.7.1.1004

PowerValidatedSolutions Version

2.9.0.1028

PowerVCF Version

2.4.1.1000

Guest Operating System

Windows server 2019

Environment Details

No response

Description

Test-VcfPasswordManagementPrereq could not handle multiple installed version of required packages

Error or Debug Output

PS F:\PlatformTools> Test-VcfPasswordManagementPrereq
 [03-07-2024_14:18:53] [INFO] VMware.vSphere.SsoAdmin 1.3.9 is installed version and meets the minimum required version of VMware.vSphere.SsoAdmin 1.3.9.
 [03-07-2024_14:18:53] [ERROR] PowerVCF 2.4.1.1000 2.4.0.1011 2.3.0.1004 1.2.5 is installed. Install PowerVCF 2.4.1 or higher.
 [03-07-2024_14:18:53] [ERROR] PowerValidatedSolutions 2.9.0.1028 2.7.0.1013 is installed. Install PowerValidatedSolutions 2.8.0 or higher.
PS F:\PlatformTools>

Expected Behavior

Take into account latest installed version

Actual Behavior

Error - see above

Steps to Reproduce

Run "Test-VcfPasswordManagementPrereq" on a machine with several version of required packages

Log Fragments and Files

No response

Screenshots

No response

References

No response

github-actions[bot] commented 4 months ago

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.