get_adinfo

Use the get_adinfo command to return information about the current join state for the ADEdit host computer. The command returns information about the joined domain, the joined zone, or the name the host computer is joined under.

Zone type

Not applicable

Syntax

get_adinfo domain|zone|host

Abbreviation

adinfo

Options

This command takes no options.

Arguments

This command takes the following argument:

Argument Type Description

domain|zone|host

string

Required. The possible values are:

  • domain returns the name of the currently joined domain.
  • zone returns the distinguished name of the currently joined zone.
  • host returns the name under which the ADEdit host computer is joined.

Return value

This command returns a domain name, zone name, or computer name depending on the provided argument.

Examples

get_adinfo domain

This example returns the joined domain. For example: acme.com

get_adinfo zone

This example returns the path to the joined zone. For example:

CN=default,CN=Zones,CN=Centrify,CN=Program Data,DC=acme,DC=com

Related commands

None.