Set-O365EmailAddresses

Set-O365EmailAddresses

Sets up email addresses for a user.

Sintaxis

Parameter Set: Default
Set-O365EmailAddresses [-LocalAccountName] <String> [[-EmailAddresses] <List<String>> ] [ <CommonParameters>]

Descripción detallada

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

Parámetros

-EmailAddresses<List<String>>

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

Alias

ninguno

¿Requerido?

false

¿Posición?

2

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

false

-LocalAccountName<String>

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.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

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

    LocalAccountName
    Type: System.String
    Description: local user name

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

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

Example 1: Set up email addresses for a user

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

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

Temas relacionados

Get-O365EmailAddresses