[英]How to transfer files to a Virtual Machine on the same network programmatically?
[英]How to start virtual machine programmatically?
我有2个虚拟机:Windows 10和Windows 10中托管的Ubuntu 10内部虚拟机。如何从c#应用程序启动这些VM?即启动OS等。
您可以只从C#代码中调用powershell命令,然后使用powershell代码实际管理您的VM。
在C#中执行Powershell: https : //blogs.msdn.microsoft.com/kebab/2014/04/28/executing-powershell-scripts-from-c/
Powershell和VM:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.