mirror of
https://github.com/Corsinvest/cv4pve-api-powershell.git
synced 2026-04-25 12:15:48 +03:00
[GH-ISSUE #6] Get-PveVm with -PveTicket parameter #4
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-api-powershell#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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".]
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
@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