Enable-HostedEmailAccount
Enables the hosted email account assigned to a local user account.
Syntax
Enable-HostedEmailAccount
[-LocalAccountName] <String>
[<CommonParameters>]
Description
The Enable-HostedEmailAccount cmdlet enables a hosted email account that is assigned to a local user account. A hosted email service provides a hosted email account.
Examples
Example 1: Enable a hosted email account
PS C:\> Enable-HostedEmailAccount -LocalAccountName "PattiFuller"
This command enables the hosted email account that is assigned to the local user account named PattiFuller.
1:
PS C:\>
Parameters
-LocalAccountName
Specifies the name of a local Active Directory user account. The cmdlet enables the hosted email account that is assigned to the local user account you specify.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
LocalAccountName
Type: System.String
Description: local user name