So, my need was a little different, so iv customized a little bit, and there is!
## Based on "PowerShell Script to Create Lots of Windows Server 2012 Hyper-V Virtual Machines at Once"
$parentpath = "C:\ClusterStorage\Volume1"
$baseVHDX = "\BASE.VHDX"
$vSwitchName = "EXTERNAL"
$VMName = "VM_"
foreach ($i in 1..200)
{
$VHDXfilename = "$parentpath\$VMName$i.VHDX"
New-VHD -ParentPath "$parentpath$baseVHDX" -Differencing -Path "$VHDXfilename"
New-VM -VHDPath "$VHDXfilename" -Name "$VMName$i" -Path "$parentpath" -SwitchName "$vSwitchName"
## Start-VM "$VMName$i"
}
After some time, my M630 and its 256 GB of RAM was fully loaded with 200 sysprepd VMs
- Changed type Bill_StewartModerator 11 hours 45 minutes ago