
So you wanted to clone a virtual machine using power cli?Lets do itConnect to your vmware vcenter server. You cannot clone if you are connected to an esxi host. Use the connect-viserver vcenter name Or ipHave ready:The name of the new vmThe source vmThe data store where you will place your new cloned vmIn the example:New vmname: clonevmtestSourcevm: convert3Datastore: 250Stor01New-VM -Name VM2 -VM VM1 -Datastore...