|
Navigation: Actions > Virtual Machines > Hyper-V Action |
![]() ![]()
|
The Hyper-V action performs an operation a Microsoft Hyper-V virtual machine. See here for options for automating build steps within a virtual machine.
Notes:
| • | This action has been tested with Windows 8, Windows Server 2012, Microsoft Hyper-V Server 2008 / 2008 R2, and Windows Server 2008 / 2008 R2 with Hyper-V and may work with other versions as well. |
| • | PowerShell v2 or later (included with Windows 7 and Windows Server 2008 R2 and later) and the PowerShell Management Library for Hyper-V module (included with Windows 8 and Windows Server 2012 and later) must be installed on the machine where Visual Build is installed. |
| • | By default, PowerShell will not execute local unsigned scripts, and the PowerShell Management Library scripts are unsigned. To enable PowerShell to execute local unsigned scripts, start PowerShell (running as admin) and enter the command Set-ExecutionPolicy RemoteSigned. |