vCO Workflow Script to Un-Deploy a vApp ( Power Off to You and Me )

The following script enables an array of VclVApp object to be un-deployed.

 

 

if ( objVclVApp.deployed == true )
{
	var objVclTask;
		objVclTask = objVclVApp.undeploy(VclUndeployPowerActionType.SHUTDOWN);

	objCustomActions.waitVclTask(objVclTask);
}

Leave a Reply