Collections Reference
Refer to Getting Started Guide for information on how to use collections.
Active Directory Computers

AllComputers
AllComputers <DomainName>

Returns all Active Directory computers. If no domain name is specified, current domain is assumed.
Example: Loop Computer,[AllComputers]

DomainControllers
DomainControllers <DomainName>

Returns all domain controllers. If no domain name is specified, current domain is assumed.
Example: Loop DC,[DomainControllers]
Active Directory Groups

AllGroups
AllGroups <DomainName>

Returns all Active Directory groups. If no domain name is specified, current domain is assumed.
Example: Loop Group,[AllGroups]

ComputerGroups
ComputerGroups <ComputerName>

Returns all Active Directory groups the computer is a member of directly or through nested groups. A nested group is for instance when a computer is member of 'Sales Florida Computers' and 'Sales Florida Computers' is a member of 'Sales America Computers', then the computer is implicitly a member of 'Sales America Computers' and both are included. If no computername is specified, executing computer is assumed. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<ComputerName>.
Example: Loop Group,[ComputerGroups]

GroupComputers <GroupName>

Returns all Active Directory computers that are members of the group directly or through nested groups. A nested group member is for instance when retrieving members of a group named 'Sales America Computers' and a group named 'Sales Florida Computers' is a also member of 'Sales America Computers', then all computers of 'Sales Florida Computers' are also included as members of 'Sales America Computers'. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<GroupName>.
Example: Loop Computer,[GroupComputers]

GroupGroups <GroupName>

Returns all Active Directory groups the group is a member of directly or through nested groups. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<GroupName>.
Example: Loop Group,[GroupGroups Domain Users]

GroupSubGroups <GroupName>

Returns all Active Directory groups that are members of the group directly or groups that are nested groups. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<GroupName>.
Example: Loop Group,[GroupGroups]

GroupUsers <GroupName>

Returns all Active Directory users that are members of the group directly or through nested groups. A nested group member is for instance when retrieving members of a group named 'Sales America Users' and a group named 'Sales Florida Users' is a also member of 'Sales America Users', then all users of 'Sales Florida Users' are also included as members of 'Sales America Users'. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<GroupName>.
Example: Loop User,[GroupUsers Sales America Users]

UserGroups
UserGroups <UserName>

Returns all Active Directory groups the user is a member of directly or through nested groups. A nested group is for instance when a user is member of 'Sales Florida Users' and 'Sales Florida Users' is a member of 'Sales America Users', then the user is implicitly a member of 'Sales America Users' and both are included. If no user is specified, the currently logged on user is assumed. If domain is different than the current users' domain, specify user as <Domain>\<UserName>.
Example: Loop Group,[UserGroups]
Active Directory OU

AllOUs
AllOUs <DomainName>

Returns all Active Directory organizational units. If no domain name is specified, current domain is assumed.
Example: Loop OU,[AllOUs]

ComputersInOU <OUName>

Returns all computers in an Organizational Unit or a container in the Active Directory. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<OUName>.
Example: Loop Computer,[ComputersInOU]

GroupsInOU <OUName>

Returns all groups in an Organizational Unit or a container in the Active Directory. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<OUName>.
Example: Loop Group,[GroupsInOU]

UsersInOU <OUName>

Returns all user in an Organizational Unit or a container in the Active Directory. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<OUName>.
Example: Loop User,[UsersInOU]
Active Directory Users

AllUsers
AllUsers <DomainName>

Returns all Active Directory users. If no domain name is specified, current domain is assumed.
Example: Loop User,[AllUsers]
Directories

SubDirectories <Path>

Returns a collection of sub directories, if they exist.
Example: Loop Dir,[SubDirectories [WinDir]]
Execution

RunningProcesses

Returns all running processed.
Example: Loop Process,[RunningProcesses]
Files

Files <Path>

Returns a collection of files in the directories, if they exist.
Example: Loop File,[Files [WinDir]]
Ini Files

IniSection <Filename>, <Section>

Returns all keys in an ini file section if it exists. Combine in a loop with GetIniValue to get both key and value.
Example: Loop Section,[IniSection Acme.Ini,General]
Installations

ApplicationsInstalled

Returns all installed FastTrack scriptet applications (using RegisterInstallation command).
Example: Loop App,[ApplicationsInstalled]

InstalledPrograms

Returns all installed Windows programs.
Example: Loop App,[InstalledPrograms]
Intervals

Range <From>, <To>

Creates a range collection, from and to must be numbers. Can be used to loop a fixed number of times.
Example: Loop Counter,[Range 0,10]
Local Groups

AllLocalGroups
AllLocalGroups <RemoteComputerName>

Returns all local groups.
Example: Loop Group,[AllLocalGroups]

GroupLocalGroups <Groupname>

Returns all local groups the domain group is a member of directly or through nested domain groups inside the local group. If domain is different than the current users' domain, specify group as <Domain>\<GroupName>.
Example: Loop Group,[GroupLocalGroups]

LocalGroupMembers <GroupName>
LocalGroupMembers <GroupName>, <RemoteComputerName>

Returns all members of a local group.
Example: Loop User,[LocalGroupMembers]

LocalUserLocalGroups
LocalUserLocalGroups <Username>

Returns all local groups the local user is a member of. If no username is specified, the logged on local user is assumed.
Example: Loop Group,[LocalUserLocalGroups]

UserLocalGroups
UserLocalGroups <Username>

Returns all local groups the user is a member of directly or through nested domain groups inside the local group. If no user is specified, the currently logged on user is assumed. If domain is different than the current users' domain, specify user as <Domain>\<UserName>.
Example: Loop Group,[UserLocalGroups]
Local Users

AllLocalUsers
AllLocalUsers <RemoteComputerName>

Returns all local users.
Example: Loop Group,[AllLocalUsers]
Printers

LocalPrinters

Returns all local printers.
Example: Loop Printer,[LocalPrinters]

NetworkPrinters

Returns all mapped network printers.
Example: Loop Printer,[NetworkPrinters]
Registry

RegistryKeys <Key>

Returns all keys under the specified key. Returns an empty list, if the key does not exist. HKey_Local_Machine, HKey_Current_User and HKey_Classes_Root can be abbreviated to HKLM, HKCU and HKCR.
Example: Loop Key,[RegistryKeys HKCU\Software\Acme]

RegistryKeysx86 <Key>

Returns all keys under the specified key. Keys are returned from the redirected registry for 32-bit applications on a 64-bit operating system. Works the same as RegistryKeys on a 32-bit operating system or non-redirected keys. Returns an empty list, if the key does not exist. HKey_Local_Machine, HKey_Current_User and HKey_Classes_Root can be abbreviated to HKLM, HKCU and HKCR.
Example: Loop Key,[RegistryKeysx86 HKCU\Software\Acme]

RegistryValueData <Key>

Returns all value data under the specified key. HKey_Local_Machine, HKey_Current_User and HKey_Classes_Root can be abbreviated to HKLM, HKCU and HKCR.
Example: Loop ValueData,[RegistryValueData HKCU\Software\Acme]

RegistryValueDatax86 <Key>

Returns all value data under the specified key. Value data are returned from the redirected registry for 32-bit applications on a 64-bit operating system. Works the same as RegistryValueData on a 32-bit operating system or non-redirected keys. HKey_Local_Machine, HKey_Current_User and HKey_Classes_Root can be abbreviated to HKLM, HKCU and HKCR.
Example: Loop ValueData,[RegistryValueDatax86 HKCU\Software\Acme]

RegistryValues <Key>

Returns all values under the specified key. HKey_Local_Machine, HKey_Current_User and HKey_Classes_Root can be abbreviated to HKLM, HKCU and HKCR.
Example: Loop Value,[RegistryValues HKCU\Software\Acme]

RegistryValuesx86 <Key>

Returns all values under the specified key. Values are returned from the redirected registry for 32-bit applications on a 64-bit operating system. Works the same as RegistryValues on a 32-bit operating system or non-redirected values. HKey_Local_Machine, HKey_Current_User and HKey_Classes_Root can be abbreviated to HKLM, HKCU and HKCR.
Example: Loop Value,[RegistryValuesx86 HKCU\Software\Acme]
XML

XMLAttributes <File>, <Path>

Gets a collection of attributes of the first xml node that fits the path. Returns an empty collection if file or attributes are not found.
Example: Loop Attribute,[XMLAttributes PrinterList.xml,Settings/Printers/Houston]

XMLMultiAttributes <File>, <Path>, <Attribute>

Same a the XMLAttribute function, except that it will return a collection of all nodes and attributes that matches.
Example: Loop Attribute,[XMLMultiAttributes Locations.xml,Acme/Printers/Houston/PrinterSite,Name]

XMLSubNodes <File>, <Path>

Gets a collection of names of subnodes of the first xml node that fits the x-path. Returns an empty collection if file or path is not found.
Example: Loop Node,[XMLSubNodes PrinterList.xml,Settings/Printers]