Hey there!
I have the following cmdlet:
New-VM -Name ClonedVM -VM SourceVM -Datastore NewDS -VMHost ESXi -Location Folder -Confirm:$false
The problem is that I'm trying to clone a VM that is a part of a dead vCD system. Because the VM is registered as being managed by the dead vCD instance, I get the following error:
The operation for the entity ClonedVM failed with the following message: "A general system error occurred: The virtual machine requires the vcloud/system.service.vmware.vsla.vcloud service, which is not available on the host."
So.. is there a way for me to clone that VM using PowerCLI without un-registering and registering the VM in the VC?