Hi,
I've searched on the forum but I didn't really find what I need.
I would like to start some VMs machines at the same time and when the VMs are started the first time, run a script, which is on the Windows host machine, on each VMs.
My problem is to run the script on startup.
The VMs have all the same name and set to use DHCP.
As the host machine can be different I cannot use a script inside the VM to access a shared folder on the host machine.
So I thought to use the IP address of the VMs to run the script from the host to the VM with something like psexec. It works well but the problem is that I don't know the IP of the VMs (because of the DHCP).
So is there a way to get from the host the IP address of a started VM with some API?
Or does somebody has another idea to solve my problem?
Thanks in advance.