Write the value of one or more variables to a text file.
Typically used at the end of a script to record the results of the script operation. For instance, in a script that creates user accounts often the user logon name and the password are exported to a file, so the user can be informed. Especially essential when the account are created with random passwords.
Double click on any property to open a special dialog to set all properties from one window.
|
Property Name |
Description |
Typical setting |
Remarks |
|
Number of exported variables |
The number of exported variables. |
|
Read only property. |
|
Export file name |
The name of the file |
|
The name of the file can contain variables: |
|
Exported text fields
|
A list of strings that are written to the Export file. In order to export variables, specify the variable name in the export string. |
|
Examples of a export strings: All strings will be exported on the same line in the file. If the output must be on more lines, use a separate Export Variables script action. |
|
Field separator |
The character that is exported to separate the exported fields. |
, |
|
|
Value separator |
The character used to separate multi-values |
, or ; |
The character is inserted between the values of a multi-value variable value. In order to be able to distinguish the different values of a multi-value variable, the values should not contain the value separator character. Example: When exporting the memberOf attribute of user accounts, the object distinguished names of the groups of which the user account is a member are returned. These names contain comma's: CN=GroupA, DC=domain (note the comma between GroupA and DC). To separate multiple groups in this case, another value separator should be used, for instance a semi-colon (;). |
|
Enclose fields with blanks |
Specifies that fields that contain blanks will be enclosed by the enclose character. |
|
|
|
Enclose character
|
Specifies the character that is inserted around strings that contain blank chars.
|
" |
|
|
UNICODE format |
When checked, the exported data is save in UNICODE format. |
|
|
|
|
|
|
|
More information:
Principle of operation
Project operations - Input data
Project operations - Manage script actions
Project operations - Variables
Built-in variables
Help on help