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.
Specifies the email addresses of the user that you specify in the LocalAccountName parameter. The cmdlet sets up the email addresses that you specify.
Aliases |
none |
Required? |
false |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
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.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
The input type is the type of the objects that you can pipe to the cmdlet.
System.String,System.Collections.Generic.List<System.String>
LocalAccountName
Type: System.String
Description: local user nameEmailAddresses
Type: System.Collections.Generic.List<System.String>
Description: email addresses of the user
The output type is the type of the objects that the cmdlet emits.
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:\>