vRA 7 – How to use the Guest Agent to install an application, run a batch script, or run a Powershell script

The following guide will show you how to use vRealize Automation 7’s guest agent to install applications, batch scripts, and powershell scripts on Windows VM. This is useful for those who want to automate installs and configurations of the guest operation system. Thanks to Jaime Gonzales for the assistance with this.

  1. Make sure the prerequisites are completed before starting
    1. First make sure the vRA guest agent is installed on the VMs. Instructions can be found here
    2. The scripts and applications are located locally on the local machine

     

  2. Go to Administration > Property Group

     

  3. Use the following example to run a Powershell script on the local drive (change script path as needed) and click on OK

     

  4. Use the following example to run a Batch/Command
    script on the local drive and click on OK

     

  5. Use the following example to run a local software on the local drive and click on OK

     

  6. Now edit a Blueprint and add your custom group to Properties > Property Groups > Add

 

twitterpinterestlinkedinmail