Here is what Im trying to accomplish:
1.) Create VM - Done
2.) Power on VM - Done
3.)The VM is sysprepped so it boots to the Windows EULA screen. I need manual intervention here to next through the EULA and set Admin password. (unless you know of an automated way to do this)
- Have the script wait
4.) Once on the windows desktop, I need the following:
- Update Tools
- Set 4 different NIC names and manual IP addresses
- Set some NIC settings
- Rename machine
-Set Licensing
What Im confused about is the order of things to be scripted.
Since Im starting in the EULA screen and need manual intervention I would need the Wait-Task after VM power on.
Then, in order to do anything on the VM, wont I need to rename it and give the "mgmt" NIC an IP to manipulate anything in it using Invoke-Script? Or can I do this without connectivity?
Im trying to use a ping test with the Wait-Task to wait until a ping is completed and then move forward with other automation but very confused how to run through these steps logically.
Any help would be appreciated
Thank you