Enable-ExchangeMailbox cmdlet enables Exchange mail services for AD user. The user must not have any other mail services, e.g. OWA-only, POP/IMAP, etc.

This cmdlet supports risk-mitigation parameters.

Input parameters


Mandatory (R/O)

Restrictions/Valid Values
1 Authentication Information (all parameters)  


(aliases: GUID, DistinguishedName)

string R A property that is used for managing the u ser

Value of one of these parameters  can be used as Identity:

1 GUID Globally Unique Identifier (ObjectGuid)
2 DistinguishedName Unique name of the object in Active Directory

3 OriginatingServer string O

Address of the server (domain name), where the object physically exists.

Note: it is recommended to use this parameter as input to guarantee execution of operation with actual data. To get this parameter use Get-ExchangeMailbox cmdlet.

Max length is  255 symbols

Output parameters

No parameters

Examples of using Enable-ExchangeMailbox cmdlet

Enabling Exchange service for the particular user:

Enable-ExchangeMailbox -Identity "6705F5F1-40DE-413D-A220-8F660C9D816B"

Enabling Exchange service for users whose UPN starts with test:

Get-User test* | ?{$_.RecipientType -eq "User" } | Enable-ExchangeMailbox