Hi Everyone
New to all of this so please bear with me!
Starting a new project and looking to compare between the use of Hyper V and ESXi.
The project is to grab vms regardless of state, turn them on and execute scripts stored on a vm drive. The script execution has to be performed / issued by a user. C# is the main underlying code but we can potentially put in references to use powershell scripts / whatever else if we can achieve this using hyper v.
I know from doing a bit of reading on ESXi that we can do this using a number of ways - vmrun to start, stop and run commands on the actual vm itself. using other vmware libraries and APIs.
I have read that powershell commands include starting vms, taking snapshots, shutting down vms but I was wondering if we can get into the actual VM remotely / somehow in-order to, for example, run a script which is stored on that VMs C drive.
Has anyone tried this / is it do-able? - I have had no luck finding any examples of what we need.
Kind Regards,
Ashley