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 1403
陌清茗
陌清茗 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条回答
  •  故里飘歌
    2021-02-01 08:07

    Checkout Powershell Management library for Hyper-V on CodePlex. Some features:

    Finding a VM
    Connecting to a VM
    Discovering and manipulating Machine states
    Backing up, exporting and snapshotting VMs
    Adding and removing VMs, configuring motherboard settings.
    Manipulating Disk controllers, drives and disk images
    Manipluating Network Interface Cards
    Working with VHD files

提交回复
热议问题