I'm using Vagrant to create VMs on a Windows host, to which I would like to connect with PuTTY. Vagrant creates an RSA private key in the .pem format. PuTTY needs a key in the .ppk format to create a connection.
I would like to convert the .pem to .ppk automatically when creating the vagrant VM.
The question of how to convert .pem to .ppk has been asked and answered lots of times, but on Windows all those answers involve clicking through the puttygen GUI. It seems that on Linux, puttygen can be operated entirely from the command line, but on Windows the GUI must be used.
Having to click through a GUI is a slow point in my workflow when creating new VMs that I would like to avoid.
Is there any command-line/scriptable/programmatic way of converting .pem files to .ppk format on Windows?