[GH-ISSUE #13] How to execute commands on VM via QEMU #12

Closed
opened 2026-02-26 17:32:06 +03:00 by kerem · 2 comments
Owner

Originally created by @HenrikPedDK on GitHub (Jan 17, 2024).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-powershell/issues/13

What happened?

I need to be able to execute commands on my VMs (qm guest exec). I can do this with the shell on the host directly, but it would be nice to be able to do it via Powershell as well. Do you have a way to do this through PS or would you maybe consider implementing it in your plugin?

Expected behavior

I am filing this question here because i was told to :)

Relevant log output

No response

Proxmox VE Version

8.x

Version (bug)

8.x

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 @HenrikPedDK on GitHub (Jan 17, 2024). Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-powershell/issues/13 ### What happened? I need to be able to execute commands on my VMs (qm guest exec). I can do this with the shell on the host directly, but it would be nice to be able to do it via Powershell as well. Do you have a way to do this through PS or would you maybe consider implementing it in your plugin? ### Expected behavior I am filing this question here because i was told to :) ### Relevant log output _No response_ ### Proxmox VE Version 8.x ### Version (bug) 8.x ### 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:06 +03:00
Author
Owner
<!-- gh-comment-id:1895886014 --> @franklupo commented on GitHub (Jan 17, 2024): Hi, in documentation https://raw.githack.com/Corsinvest/cv4pve-api-powershell/master/doc/index.html searxch **New-PveNodesQemuAgentExec**. https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/qemu/{vmid}/agent/exec https://pve.proxmox.com/wiki/Qemu-guest-agent https://pve.proxmox.com/wiki/Windows_10_guest_best_practices best regards
Author
Owner

@franklupo commented on GitHub (Jan 18, 2024):

News?

<!-- gh-comment-id:1898960701 --> @franklupo commented on GitHub (Jan 18, 2024): News?
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#12
No description provided.