I am trying to script the powering on of all our Citrix VM Gold servers since this can be a time consuming process because we have so many of them. Powering them on using Powershell is a breeze, but the problem is they boot to a DOS menu, and I need to send some keystrokes to the VM guest console to finish the boot process. I really just need to send a "1" and "Enter". I thought this would be a simple thing to do, but I have not been able to find a way to do this using Powershell, or any other scripting method for that matter.
I found some older posts about using VNC, but that really isn't an option.
Perhaps I'm just overlooking the obvious, I don't know, but any suggestion would be appreciated.
I assume the VMware Tools are installed ?
If yes, you could try the following:
$wshell = New-Object -ComObject wscript.shell
But I have to admit I haven't tried this myself yet :smileycry: