get_bind_info
Use the get_bind_info
command to return information about one of ADEdit’s currently bound domains. The command can return the name of the domain’s forest, the name of the server bound within the domain, the security identifier (SID) of the domain, and the functional level of the domain or the domain’s forest.
Zone type
Not applicable
Syntax
get_bind_info domain forest|server|sid|domain_level|forest_level
Abbreviation
gbi
Options
This command takes no options.
Arguments
This command takes the following arguments:
Argument | Type | Description |
domain |
string |
Required. Specifies the name of the domain for which to get information. |
forest | server | sid | domain_level | forest_level |
string |
Required. The possible values are:
|
Return value
This command returns a forest name, server name, security identifier, or functional level depending on the provided argument.
Examples
get_bind_info acme.com server
This example returns the name of the domain controller: adserve02.acme.com
Related commands
The following commands perform actions related to this command:
- bind binds ADEdit to a domain for subsequent ADEdit commands.
- pop restores the context from the top of ADEdit’s context stack to ADEdit.
- push saves ADEdit’s current context to ADEdit’s context stack.
- show returns the current context of ADEdit, including its bound domains and its currently selected objects.