Get Forest Information
Returns current AD Forest information.
Input Parameters
No input parameters required.
Output Parameters
Name | Type | Description |
---|---|---|
Forest Mode | Array | Returns the mode of the forest. |
Root Domain | String | Returns the root domain name. |
Schema | String | Returns the schema of the domain. |
Schema Role Owner | String | Returns the name of the schema role owner device. |
Naming Role Owner | String | Returns the name of the domain naming role owner device. |
Domain Name | String | Not used. |
Local Computer Name | String | Not used. |
Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
No input parameters required.