Clear-AssignedHostedEmailAccount

Removes the relationship between a hosted email account and a local user account.

Syntax

Clear-AssignedHostedEmailAccount
     [-LocalAccountName] <String>
     [<CommonParameters>]

Description

The Clear-AssignedHostedEmailAccount cmdlet removes the relationship between a hosted email account and the local user account to which the hosted email account is assigned. A hosted email service provides a hosted email account.

Examples

Example 1: Remove the relationship between a hosted email account and a local user account

PS C:\> Clear-AssignedHostedEmailAccount -LocalAccountName "PattiFuller"

This command removes the relationship between the hosted email account and the local user account named PattiFuller.

1:

PS C:\>

Parameters

-LocalAccountName

Specifies the name of a local Active Directory user account. The cmdlet removes the relationship between the hosted email account and the local user account that you specify.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

LocalAccountName Type: System.String Description: local user name