In my previous post I showed how to install automaticaly a virtual machine with pfSense. The automation I reached was around 90%, as I didn’t know how to automate the installation of the software. Thanks to Michael Zenzmaier who suggested me the Set-VMKeystrokes function created by William Lam I was able to also automate the installation. This solution is also a great example to automate every situation where we need to send keystrokes to a vSphere VM.