I am trying to create a Power-CLI script to allocate a variable number of hosts to different subnets on an ESXi host (for example: 5 XP boxes on network A, 5 Ubuntu boxes on network B, a few Win2k12 Servers on network C). The problem is that template creation and other functions can't be carried out from an ESXi host but instead only from a vCenter Server.
Here are the approaches I've considered so far:
Does anyone have a solution to script out the provisioning process to include guest OS configuration? Let me know if I can provide more detail about my situation for you.
why no vcenter?
honestly it might be worth using some of the homelab scripts to deploy a temporary vcenter, deploy your vm's, then destry the vcenter of it's a license issue.
I'm doing this on my university's research network so I'm not sure if they'll let me hop on vCenter and run a script that could impact other projects without some lengthy approval process. That said, I'm trying to get access but some other method that doesn't require me to do that could be quicker.
