How can I create virtual machines as part of a build process using MSBuild and MS Virtual Server and/or Hyper-V Server Virtualization?

后端 未结 2 1375
陌清茗
陌清茗 2021-02-01 07:44

What I would like to do is create a clean virtual machine image as the output of a build of an application.

So a new virtual machine would be created (from a template is

2条回答
  •  梦毁少年i
    2021-02-01 08:10

    You can actually script a fair number of tasks in MS Virtual Server:

    http://www.microsoft.com/technet/scriptcenter/scripts/vs/default.mspx?mfr=true

    http://msdn.microsoft.com/en-us/library/aa368876(VS.85).aspx

    Also Virtual PC guy has got a ton of stuff on his blog about scripting Virtual Server/PC and now Hyper-V here:

    http://blogs.msdn.com/virtual_pc_guy/default.aspx

    VMware has similar capabilities:

    http://www.vmware.com/support/developer/scripting-API/

提交回复
热议问题