Can you help me how to clone a VM, but I need to omit some disks (I need a script for regular cloning, I know that in the GUI there is an option via Customize VMs HW), I use this cmd in PowerCli script:
New-VM -VM $VM1 -Name "$VM1-Clone" -VMHost $ESXi -datastore $Datastore -Notes "Clone $Time1" -Location "Clone"