7.4

Table Of Contents
Table 150. Reservation Policy Custom Property Configuration Values (Continued)
Option Value
Values External
Action folder com.vmware.vra.reservations
Script action getApplicableReservationPolicies
This script action is an example script. You can create specific
actions for your environment.
Input parameters No required parameters.
Blueprint Configuration
You can add a custom property to the blueprint Properties tab to associate the property with the overall
blueprint.
PowerShell Script Custom Property Definition
You add a custom property to run a PowerShell script when you want to use a script to retrieve data to
populate the custom property in the request form. The PowerShell script custom property uses a
vRealize Orchestrator action to run the script and retrieve the values.
For example, as the cloud administrator you have a PowerShell script that retrieves user IDs from the
Active Directory that is registered with vRealize Automation. The intent of the script is to retrieve and
display John Smith when the actual value in Active Directory is JSmith01.
An advantage to using the PowerShell script action includes a central location for the script. You can
either store the script on a central server and then run it on target virtual machines, or you can store it in
vRealize Orchestrator and then run it on the target machines. A central location decreases maintenance
time. Storing the scripts in vRealize Orchestrator when you have backup and restore configured ensures
that you can restore the scripts if a system failure occurs.
Prerequisites
Verify that you have a working PowerShell script that returns key pair values. The script must be available
on an accessible server or that the script is uploaded into vRealize Orchestrator.
Custom Property Configuration Values
You use these options to create the custom property.
Table 151. PowerShell Script Custom Property Configuration Values
Option Value
Name You can use any string.
Data type String
Display as Dropdown
Values External
Action folder com.vmware.vra.powershell
Custom Properties Reference
VMware, Inc. 117