Virtualization, Cloud, Infrastructure and all that stuff in-between
My ramblings on the stuff that holds it all together
POSH1Liner:Deploy VM from template
February 5, 2018
Posted by on Populate variables
$targetdisk = Get-Datastore -name vd03*
$target = get-vmhost -name l1-mgt-slotXX.theborg.int
#Deploy VM from template
new-vm -name L2-C2-NXX -Template TPL_vESXI -vmhost $target -Datastore $targetdisk -runasync
#rinse & repeat