Search code examples
apivirtual-pc

Is there a way (API/Scripting) to work with Virtual PC?


Is there a way to interact with Virtual PC1?

Looking to do basic things like startup and shutdown (with choice of save or turn off etc..) specific VM's.

Any solution other than simulating key presses would be fine, for example

  • WMI
  • COM+
  • ADSI
  • PowerShell

1 - Specifically for Virtual PC as in Microsoft Virtual PC (i.e. the one that runs on Vista and earlier), not Windows Virtual PC (i.e. the Win7 one)


Solution

  • Alas, no, see http://www.aspdeveloper.net/Virtual_PC/rn-739-16434_Virtual_PC_API.aspx .