The List Environment Variables action is used to populate a dataset with all current environment variable names and their values.
From the Task Builder Available Actions pane, open the Environment Variables folder and double-click the List Environment Variables action or drag it into the Steps pane.
In the Environment variable scope box, select User, Machine, or Process.
In the Create and populate dataset box, enter the name for the dataset. (Dataset names must be alphanumeric, begin with a letter, and contain no spaces.)
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
List Environment Variables Action