Tenant administrators and business group managers can call Visual Basic scripts to run outside of vRealize Automation as additional steps in the machine life cycle and to update custom property values of machines.

About this task


If your fabric administrator creates a build profile that contains the required custom properties and you include it in your blueprint, you do not need to individually add the required custom properties to the blueprint.


  • Log in to the vRealize Automation console as a tenant administrator or business group manager.

  • Gather the following information from your fabric administrator for each Visual Basic script:

    • The complete path to the Visual Basic script, including the filename and extension. For example, %System Drive%Program Files (x86)\VMware\vCAC Agents\EPI_Agents\Scripts\SendEmail.vbs.


    Your fabric administrator might have provided this information in a build profile.

  • Create at least one blueprint.


  1. Select Infrastructure > Blueprints > Blueprints.
  2. Point to the blueprint to which you want to add Visual Basic scripts and click Edit.
  3. Click the Properties tab.
  4. (Optional) Select one or more build profiles from the Build profiles menu.

    Build profiles contain groups of custom properties. Fabric administrators can create build profiles.

  5. Add the Visual Basic script custom properties.
    1. Click New Property.
    2. Type the Visual Basic script custom property name in the Name text box.




      Runs the Visual Basic script before a machine is provisioned.


      Runs the Visual Basic script after a machine is provisioned.


      Runs the Visual Basic script when a provisioned machine is destroyed.

    3. Type the complete pathname, including filename and extension, to the Visual Basic script in the Value text box.

      For example, %SystemDrive%\Program Files (x86)\VMware\vCAC Agents\EPI_Agent\Scripts\SendEmail.vbs.

    4. (Optional) Select the Encrypted check box to encrypt the custom property in the database.
    5. (Optional) Select the Prompt user check box to require the user to provide a value when they request a machine.

      If you choose to prompt users for a value, any value you provide for the custom property is presented to them as the default. If you do not provide a default, users cannot continue with the machine request until they provide a value for the custom property.

    6. Click the Save icon (Save).
  6. Repeat to add multiple Visual Basic scripts to your blueprint.
  7. Click OK.