vCO Workflow Script to Enable vCenter HA
vCO Workflow Script to Enable vCenter HA var arrDNSServers = new Array(); arrDNSServers.push("192.168.0.1") var arrGateway = new Array(); arrGateway.push("192.168.0.1") var... Continue reading →
vCO Workflow Script to Trigger vRA Data Collection using an OData Query
vCO Workflow Script to Trigger vRA Data Collection using an OData Query var strHostID = objVCACHost.id; var strModelName = "ManagementModelEntities.svc"; var... Continue reading →
vCO Workflow Script to Get the Current Value of a Custom Property
vCO Workflow Script to Get the Current Value of a Custom Property var arrvCACVirtualMachine; arrvCACVirtualMachine = Server.findAllForType("vCAC:VirtualMachine", "VMUniqueID eq '"... Continue reading →
vCO Workflow Script to Create or Update a Custom Property
vCO Workflow Script to Create or Update a Custom Property var arrvCACVirtualMachine; arrvCACVirtualMachine = Server.findAllForType("vCAC:VirtualMachine", "VMUniqueID eq '" + objVcVirtualMachine.config.instanceUuid... Continue reading →
vCO Workflow Script to Check if a Custom Property Exists
vCO Workflow Script to Check if a Custom Property Exists var arrvCACVirtualMachine; arrvCACVirtualMachine = Server.findAllForType("vCAC:VirtualMachine", "VMUniqueID eq '" + objVCVirtualMachine.config.instanceUuid... Continue reading →
vCO Workflow Script to Get the Current Value of a Custom Attribute
vCO Workflow Script to Get the Current Value of a Custom Attribute var objVcSdkConnection; objVcSdkConnection = objVcVirtualMachine.vimHost; var objVcCustomFieldsManager; objVcCustomFieldsManager... Continue reading →
vCO Workflow Script to Create or Update a Custom Attribute
vCO Workflow Script to Create or Update a Custom Attribute var objVcSdkConnection; objVcSdkConnection = objVcVirtualMachine.vimHost; var objVcCustomFieldsManager; objVcCustomFieldsManager = objVcSdkConnection.customFieldsManager;... Continue reading →
vCO Workflow Script to Check if a Custom Attribute Exists
vCO Workflow Script to Check if a Custom Attribute Exists var objVcSdkConnection; objVcSdkConnection = objVcVirtualMachine.vimHost; var objVcCustomFieldsManager; objVcCustomFieldsManager = objVcSdkConnection.customFieldsManager;... Continue reading →