simon1234
Contributor
Contributor

Hi robrtb12,

var mo = new VcManagedObjectReference();

mo.type = "VirtualMachine";

mo.value = vm.id;

dasSpec.operation = VcArrayUpdateOperation.remove;

dasSpec.removeKey = mo;

works for me.

Kind regards,

Simon