Applies to: Exchange Server 2007
Topic Last Modified: 2007-06-11
Use the Add-ExchangeAdministrator cmdlet to add a user or group to a particular Microsoft Exchange Server 2007 role.
Syntax
Add-ExchangeAdministrator -Identity
<SecurityPrincipalIdParameter> -Role <OrgAdmin |
RecipientAdmin | ServerAdmin | ViewOnlyAdmin> [-DomainController
<Fqdn>] [-Scope <String>]
|
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Required |
Microsoft.Exchange.Configuration.Tasks.SecurityPrincipalIdParameter |
The Identity parameter specifies the user to add to the role. |
Role |
Required |
Microsoft.Exchange.Management.RecipientTasks.DelegateRoleType |
The Role parameter returns only the specified role type. |
Scope |
Optional |
System.String |
The Scope parameter specifies the name of the server for which the user will have administrative privileges. Scope is required when you define the ServerAdmin role. When the role is OrgAdmin or MailboxAdmin, the scope is the entire organization. |
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
The DomainController parameter specifies the domain controller to use to write this configuration change to Active Directory. Use the fully qualified domain name (FQDN) of the domain controller that you want to use. |
Detailed Description
To run the Add-ExchangeAdministrator cmdlet, the account you use must be delegated the following:
- Exchange Organization Administrator role
For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.
Input Types
Return Types
Errors
Error | Description |
---|---|
Exceptions
Exceptions | Description |
---|---|
Example
The following are examples of the Add-ExchangeAdministrator command.
The first example adds the user Ted to the OrgAdmin role.
The second example adds the user Iliana to the ServerAdmin role on the Exchange 2007 server, Contoso-Mail-01.
Copy Code | |
---|---|
Add-ExchangeAdministrator -Role OrgAdmin -Identity Contoso\Ted Add-ExchangeAdministrator -Role ServerAdmin -Identity Contoso\Iliana -Scope Contoso-Mail-01 |