Set-O365EmailAddresses

Set-O365EmailAddresses

Sets up email addresses for a user.

構文

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

詳細説明

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

パラメーター

-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.

エイリアス

なし

必須?

false

位置は?

2

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

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.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • 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

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

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:\> 

関連トピック

Get-O365EmailAddresses