get_zone_computers

Use the get_zone_computers command to check Active Directory and return a Tcl list of zone computers defined within the currently selected zone. If executed in a script, this command does not output its list to stdout, and no output appears in the shell where the script is executed. Use list_zone_computers to output the list to stdout.

Zone type

Classic and hierarchical

Syntax

get_zone_computers

Abbreviation

gzc

Options

This command takes no options.

Arguments

This command takes no arguments.

Return value

This command returns a Tcl list of zone computers defined in the currently selected zone. Each entry in the list is the security identifier (SID) of a computer that you can use to look up that computer.

Examples

get_zone_computers

This example returns the security identifier for each computer:

*S-1-5-21-2076040321-3326545908-468068287-1107

Related commands

Before you use this command, you must have a currently selected zone stored in memory. The following commands enable you to view and manage the zone computers:

After you have a zone computer stored in memory, you can use the following commands to work with that zone computer: