Scripting interface?

jtongen

New Member
Sep 25, 2020
10
0
1
45
I'd like to write some scripts to control/monitor VM state. The script would run from a windows system, ideally with no Proxmox software installed.

Is there a python API for Proxmox? I'm thinking my windows script would ssh into the Proxmox node and then interact with a scripting interface there. If not, how do you recommend I accomplish the above?
 
Windows 10 can even use SSH capabilities ....
However as you have not provided a version of windows i cannot determine if that would be an option for you.

Still if this were to be an option i would look at this and then write your script via this way :
https://www.howtogeek.com/336775/how-to-enable-and-use-windows-10s-built-in-ssh-commands/

To be clear, from my end i am only using linux boxes, and for management i am slowly moving from puppet to ansible ..
My suggestion is no more then a hint, no experience at it whatsoever.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!