$ 0 0 if(vm.guest.toolsStatus == 'toolsOK') Do stuff RefScripting Object - VcVirtualMachineToolsStatus