Set-O365EmailAddresses

Sets up email addresses for a user.

Syntax

Set-O365EmailAddresses
   [-LocalAccountName] <String>
   [[-EmailAddresses] <System.Collections.Generic.List`1[System.String]>]
   [<CommonParameters>]

Description

The Set-O365EmailAddresses cmdlet sets up email addresses in Exchange Online for a user from office_365_1 Integration.

Examples

Example 1: Set up email addresses for a user

PS C:\> Set-O365EmailAddresses -LocalAccountName "PattiFuller" -EmailAddresses "PattiFuller@Contoso.com,CustomerFeedback@Contoso.com"

This command sets up the specified email addresses for the user account named PattiFuller.

1:

PS C:\>

Parameters

-EmailAddresses

Specifies the email addresses of the user that you specify in the LocalAccountName parameter. The cmdlet sets up the email addresses that you specify.

Type:List<T>[String]
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-LocalAccountName

Specifies the name of a local Active Directory user account. The cmdlet sets up the email addresses in Exchange Online for the local user 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

System.Collections.Generic.List<System.String>

EmailAddresses Type: System.Collections.Generic.List<System.String> Description: email addresses of the user