7.4

Table Of Contents
Table 145. Custom Properties V Table (Continued)
Property Description
VirtualMachine.ScriptPath.Decrypt
Allows vRealize Automation to obtain an encrypted string that is
passed as a properly formatted
VirtualMachine.SoftwareN.ScriptPath custom property
statement to the gugent command line.
You can provide an encrypted string, such as your password, as a
custom property in a command-line argument. This allows you to store
encrypted information that the guest agent can decrypt and
understand as a valid command-line argument. For example, the
VirtualMachine.Software0.ScriptPath = c:\dosomething.bat
password custom property string is not secure as it contains an actual
password.
To encrypt the password, you can create a vRealize Automation
custom property, for example MyPassword = password, and enable
encryption by selecting the available check box. The guest agent
decrypts the [MyPassword] entry to the value in the custom property
MyPassword and runs the script as c:\dosomething.bat password.
n
Create custom property MyPassword = password where
password is the value of your actual password. Enable encryption
by selecting the available check box.
n
Set custom property VirtualMachine.ScriptPath.Decrypt as
VirtualMachine.ScriptPath.Decrypt = true.
n
Set custom property VirtualMachine.Software0.ScriptPath
as
VirtualMachine.Software0.ScriptPath =
c:\dosomething.bat [MyPassword].
If you set VirtualMachine.ScriptPath.Decrypt to false, or do not
create the VirtualMachine.ScriptPath.Decrypt custom property,
then the string inside the square brackets ( [ and ]) is not decrypted.
VirtualMachine.SoftwareN.ISOName
Specifies the path and filename of the ISO file relative to the datastore
root. The format
is /folder_name/subfolder_name/file_name.iso. If a value is not
specified, the ISO is not mounted.
VirtualMachine.SoftwareN.ISOLocation
Specifies the storage path that contains the ISO image file to be used
by the application or script. Format the path as it appears on the host
reservation, for example netapp-1:it_nfs_1. If a value is not
specified, the ISO is not mounted.
VirtualMachine.Storage.Name
Identifies the storage path on which the machine resides. The default
is the value specified in the reservation that was used to provision the
machine.
Custom Properties Reference
VMware, Inc. 91