Skip to content

Commit 5ab4593

Browse files
authored
Update Set-MailUser.md
1 parent 4a33d22 commit 5ab4593

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

exchange/exchange-ps/exchange/users-and-groups/Set-MailUser.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,8 @@ To specify the primary SMTP email address, you can use any of the following meth
740740
741741
- Use the PrimarySmtpAddress parameter instead. You can't use the EmailAddresses parameter and the PrimarySmtpAddress parameter in the same command.
742742
743+
The PrimarySmtpAddress parameter updates the primary email address and WindowsEmailAddress property to the same value.
744+
743745
To replace all existing proxy email addresses with the values you specify, use the following syntax: "\<Type\>:\<emailaddress1\>","\<Type\>:\<emailaddress2\>",..."\<Type\>:\<emailaddressN\>".
744746
745747
To add or remove specify proxy addresses without affecting other existing values, use the following syntax: @{Add="\<Type\>:\<emailaddress1\>","\<Type\>:\<emailaddress2\>",...; Remove="\<Type\>:\<emailaddress2\>","\<Type\>:\<emailaddress2\>",...}.
@@ -1391,6 +1393,8 @@ By default, the primary address is the same as the ExternalEmailAddress paramete
13911393

13921394
If you set the EmailAddressPolicyEnabled parameter to $false, you can specify the primary address using the PrimarySmtpAddress parameter, but that means the email addresses of the mail user are no longer automatically updated by email address policies. We recommend that you don't set the primary email address to a value other than the ExternalEmailAddress unless you're in a cross-forest scenario.
13931395

1396+
The PrimarySmtpAddress parameter updates the primary email address and WindowsEmailAddress property to the same value.
1397+
13941398
```yaml
13951399
Type: SmtpAddress
13961400
Parameter Sets: (All)

0 commit comments

Comments
 (0)