7.1

Table Of Contents
Table 44. Reservation Policy Custom Property Configuration Values
Option Value
Name You must use ReservationPolicyID.
Data type String
Display as Dropdown
Values External
Action folder com.vmware.vra.reservations
Script action getApplicableReservationPolicies
This script action is an example script. You can create
specic actions for your environment.
Input parameters No required parameters.
Blueprint Configuration
To add the custom property to the blueprint Properties tab, see Add a Custom Property or Property Group
as a Blueprint Machine Property,” on page 95.
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 congured ensures that you
can restore the scripts if a system failure occurs.
Limitations
None.
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. For the general steps, see “Create a vRealize
Orchestrator Action Custom Property Denition,” on page 90.
Table 45. 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
100 VMware, Inc.