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

Get-VdcCertificate returns error when passing path for certificate #235

Closed
nlighten opened this issue Dec 8, 2023 · 2 comments · Fixed by #236
Closed

Get-VdcCertificate returns error when passing path for certificate #235

nlighten opened this issue Dec 8, 2023 · 2 comments · Fixed by #236

Comments

@nlighten
Copy link

nlighten commented Dec 8, 2023

Environment

Operating System:
VenafiPS version: 6.0.4
PowerShell version:  7.2.17
TPP version (if applicable): 23.3.1

Steps to reproduce

Get-VdcCertificate $certificateId

or

Get-VdcCertificate -ID $certificateId

Expected behavior

Certificate is returned

Actual behavior

The following error is returned when passing a path. Passing a guid works fine.

ConvertTo-VdcFullPath:
Line |
  18 |                  $thisGuid = $PSItem | ConvertTo-VdcFullPath | Convert …
     |                                        ~~~~~~~~~~~~~~~~~~~~~
     | The term 'ConvertTo-VdcFullPath' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Screenshots

Not applicable

@gdbarron
Copy link
Collaborator

gdbarron commented Dec 9, 2023

@nlighten thanks for reporting this. This was a small bug specific to executing in parallel on ps core. v6.0.5 will be released shortly to fix it.

@nlighten
Copy link
Author

Thanks for the quick fix. Issue is resolved for my use case.

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

Successfully merging a pull request may close this issue.

2 participants