The Add-AcctADAccount returns an object that contains the following parameters;
The number of accounts that were added successfully
The number of accounts that were not added.
The list of accounts that failed to be added. Each one has the following properties;
This can be one of the following
Any other error information
The list of accounts that were successfully added. Each one has the following properties;
The AD account SID for the imported account.
The AD account name for the imported account.
The domain for the imported account.
The state for the account. This can be;
The account is not used.
The account is in use.
The account is in error (i.e. the account is locked or disabled in AD).
The account is no longer used, but the password is no longer known.
The account is locked (in the database not in AD).