-
Notifications
You must be signed in to change notification settings - Fork 11
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
Invoke-VcfHealthReport
failing with Split-Path error
#181
Comments
Before fix and after -
AFTER -
|
bhumitra
added a commit
to bhumitra/powershell-module-for-vmware-cloud-foundation-reporting
that referenced
this issue
Oct 17, 2023
Ref: vmware#181 Signed-off-by: bhumitra nagar <[email protected]>
tenthirtyam
pushed a commit
that referenced
this issue
Oct 18, 2023
- Fixed issue #181. - Updated `CHANGELOG.md` for v2.4.2 release. - Updated module version to 2.4.2.1000. Signed-off-by: bhumitra nagar <[email protected]> Signed-off-by: Ryan Johnson <[email protected]> Co-authored-by: Ryan Johnson <[email protected]>
Published in the v2.4.2 release. |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Code of Conduct
VMware Cloud Foundation
v5.1
PowerShell Version
Powershell 7.2
PowerCLI Version
v13.1.0
Module Version
2.4.1
PowerValidatedSolutions Version
2.6.0
PowerVCF Version
2.3.0
Guest Operating System
Photon OS
Environment Details
Linux environment - Photon OS
Description
When running the cmdlet, it fails with the below error.
Error is due to the way paths are set. It is reported that that command works on windows env.
Error or Debug Output
[10-17-2023_15:41:56] Error at Script Line 1014
[10-17-2023_15:41:56] Relevant Command: $reportDestination = Join-Path -Path $reportPath -ChildPath $reportName | Split-Path -NoQualifier -Parent
[10-17-2023_15:41:56] Error Message: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.
Expected Behavior
cmdlet should work without errors.
Actual Behavior
Error
Steps to Reproduce
Run command in a linux env.
Log Fragments and Files
No response
Screenshots
No response
References
No response
The text was updated successfully, but these errors were encountered: