7.2

Table Of Contents
What to do next
For high-availability, you can install and congure a redundant agent for your endpoint. Install each
redundant agent on a separate server, but name and congure the agents identically.
Installing the EPI Agent for Visual Basic Scripting
A system administrator can specify Visual Basic scripts as additional steps in the provisioning process
before or after provisioning a machine, or when deprovisioning a machine. You must install an External
Provisioning Integration (EPI) PowerShell before you can run Visual Basic scripts.
Visual Basic scripts are specied in the blueprint from which machines are provisioned. Such scripts have
access to all of the custom properties associated with the machine and can update their values. The next step
in the workow then has access to these new values.
For example, you could use a script to generate certicates or security tokens before provisioning and use
them in machine provisioning.
To enable scripts in provisioning, you must install a specic type of EPI agent and place the scripts you want
to use on the system on which the agent is installed.
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.
N You can install multiple EPI/VBScripts agents on multiple servers and provision using a specic
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 415. 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
hp://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
Installing vRealize Automation
114 VMware, Inc.