7.4

Table Of Contents
When executing a script, the EPI agent passes all machine custom properties as arguments to the script.
To return updated property values, you must place these properties in a dictionary and call a
vRealize Automation function. A sample script is included in the scripts subdirectory of the EPI agent
installation directory. This script contains a header to load all arguments into a dictionary, a body in which
you can include your function(s), and a footer to return updated custom properties values.
Note You can install multiple EPI/VBScripts agents on multiple servers and provision using a specific
agent and the Visual Basic scripts on that agent’s host. If you need to do this, contact VMware customer
support.
Visual Basic Scripting Requirements
A system administrator installs External Provisioning Infrastructure (EPI) agents to enable the use of
Visual Basic scripts in the provisioning process.
The following table describes the requirements that apply to installing an EPI agent to enable the use of
Visual Basic scripts in the provisioning process.
Table 513. EPI Agents for Visual Scripting
Requirement Description
Credentials Credentials under which the agent will run must have administrative access to the
installation host.
Microsoft PowerShell Microsoft PowerShell must be installed on the installation host prior to agent
installation: The version required depends on the operating system of the installation
host and might have been installed with that operating system. Visit
http://support.microsoft.com for more information.
MS PowerShell Execution Policy MS PowerShell Execution Policy must be set to RemoteSigned or Unrestricted.
For information on PowerShell Execution Policy issue one of the following commands
at Power-Shell command prompt:
help about_signing
help Set-ExecutionPolicy
Install the Agent for Visual Basic Scripting
External provisioning integration (EPI) PowerShell agents allow integrate external systems into the
machine provisioning process. Use an EPI agent to run Visual Basic Scripts as extra steps during the
provisioning process.
Prerequisites
n
Install IaaS, including the Web server and Manager Service host.
n
Verify that the requirements in Visual Basic Scripting Requirements have been met.
n
Download the vRealize Automation IaaS Installer.
Installing vRealize Automation
VMware, Inc. 118