Overview
Microsoft Hyper-V, formerly known as Windows Server Virtualization, is a native hypervisor; it can create virtual machines on x86-64 systems running Windows.
The Hyper-V Tasks run Hyper-V PowerShell commands, either on the VisualCron Server computer (Local server) or on a remote Hyper-V host (Remote server). They do not use a Connection.
- With Local server, the commands run on the VisualCron Server computer under the account that runs the VisualCron Server service. That computer needs the Hyper-V PowerShell module, and the account needs rights to manage Hyper-V
- With Remote server, the VisualCron Server opens a PowerShell remoting session to Server name with the selected Credential, so PowerShell remoting must be turned on for the remote host. Variables are not replaced in Server name
For how to set up PowerShell remoting, see:
http://www.howtogeek.com/117192/how-to-run-powershell-commands-on-remote-computers/
With Remote server, the Task writes the Credential's user name and password as plain text into a PowerShell script that runs on the VisualCron Server computer, and it opens the session with the default PowerShell remoting settings, without HTTPS (WinRM over HTTP, port 5985 by default). Where PowerShell script block logging is turned on for the VisualCron Server computer, that script, including the password, can be written to the Windows event log. The Credential's domain is not used, so enter the user name of a domain account as DOMAIN\user. A password that contains ", $ or a backtick can be changed by PowerShell before it is used.
The Hyper-V Tasks do not check the errors that PowerShell reports while the script runs, for example an unknown virtual machine name, or a failed remote sign-in. Such an error is not shown, and the Task reports success. Only an error that stops the script makes the Task fail. To confirm the result, check the state of the virtual machine afterward, for example with the Check VM Task.
Available Hyper-V Tasks
Virtual machines:
Snapshots: