[GH-ISSUE #6] Get-PveVm with -PveTicket parameter #4

Closed
opened 2026-02-26 17:32:03 +03:00 by kerem · 1 comment
Owner

Originally created by @AlxVD on GitHub (Aug 25, 2023).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-powershell/issues/6

What happened?

Parameter is not accepted with error:
[Get-PveVm: Cannot process argument transformation on parameter 'PveTicket'. Cannot convert the "PveTicket" value of type "PveTicket" to type "System.Management.Automation.ValidateNotNullAttribute".]

bug

Expected behavior

Commandlet executes successfully

Relevant log output

No response

Proxmox VE Version

7.4.3

Version (bug)

8.0

Version (working)

No response

On what operating system are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request
Originally created by @AlxVD on GitHub (Aug 25, 2023). Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-powershell/issues/6 ### What happened? Parameter is not accepted with error: [Get-PveVm: Cannot process argument transformation on parameter 'PveTicket'. Cannot convert the "PveTicket" value of type "PveTicket" to type "System.Management.Automation.ValidateNotNullAttribute".] ![bug](https://github.com/Corsinvest/cv4pve-api-powershell/assets/15388258/120f0b98-276c-4fc1-845c-19cfa45debd5) ### Expected behavior Commandlet executes successfully ### Relevant log output _No response_ ### Proxmox VE Version 7.4.3 ### Version (bug) 8.0 ### Version (working) _No response_ ### On what operating system are you experiencing the issue? Windows ### Pull Request - [ ] I would like to do a Pull Request
kerem closed this issue 2026-02-26 17:32:04 +03:00
Author
Owner

@franklupo commented on GitHub (Aug 26, 2023):

Hi,
update new version.
if you don't specify the -PveTicket parameter, the library uses the last one created which is saved in the global variable $PveTicketLast.

best regards

<!-- gh-comment-id:1694245133 --> @franklupo commented on GitHub (Aug 26, 2023): Hi, update new version. if you don't specify the -PveTicket parameter, the library uses the last one created which is saved in the global variable $PveTicketLast. best regards
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-api-powershell#4
No description provided.