Skip to content

Commit 6d19ab0

Browse files
authored
Update Set-MailPublicFolder.md
1 parent 9370065 commit 6d19ab0

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

exchange/exchange-ps/exchange/sharing-and-collaboration/Set-MailPublicFolder.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,8 @@ To specify the primary SMTP email address, you can use any of the following meth
700700
701701
- Use the PrimarySmtpAddress parameter instead. You can't use the EmailAddresses parameter and the PrimarySmtpAddress parameter in the same command.
702702
703+
The PrimarySmtpAddress parameter updates the primary email address and WindowsEmailAddress property to the same value.
704+
703705
To replace all existing proxy email addresses with the values you specify, use the following syntax: "\<Type\>:\<emailaddress1\>","\<Type\>:\<emailaddress2\>",..."\<Type\>:\<emailaddressN\>".
704706
705707
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\>",...}.
@@ -1213,7 +1215,11 @@ Accept wildcard characters: False
12131215
```
12141216
12151217
### -PrimarySmtpAddress
1216-
The PrimarySmtpAddress parameter specifies the primary return email address that's used for the recipient.
1218+
The PrimarySmtpAddress parameter specifies the primary return email address that's used for the recipient. You can't use the EmailAddresses and PrimarySmtpAddress parameters in the same command.
1219+
1220+
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 no longer automatically updated by email address policies.
1221+
1222+
The PrimarySmtpAddress parameter updates the primary email address and WindowsEmailAddress property to the same value.
12171223
12181224
```yaml
12191225
Type: SmtpAddress
@@ -1484,7 +1490,13 @@ Accept wildcard characters: False
14841490
```
14851491
14861492
### -WindowsEmailAddress
1487-
The WindowsEmailAddress parameter specifies an email address in the format [email protected].
1493+
The WindowsEmailAddress parameter specifies the Windows email address for this recipient. This is a common Active Directory attribute that's present in all environments, including environments without Exchange. Using the WindowsEmailAddress parameter on a recipient has one of the following results:
1494+
1495+
- In environments where the recipient is subject to email address policies (the EmailAddressPolicyEnabled property is set to the value True for the recipient), the WindowsEmailAddress parameter has no effect on the WindowsEmailAddress property or the primary email address value.
1496+
1497+
- In environments where the recipient isn't subject to email address policies (the EmailAddressPolicyEnabled property is set to the value False for the recipient), the WindowsEmailAddress parameter updates the WindowsEmailAddress property and the primary email address to the same value.
1498+
1499+
The WindowsEmailAddress property is visible for the recipient in Active Directory Users and Computers in the E-mail attribute. The attribute common name is E-mail-Addresses, and the Ldap-Display-Name is mail. If you modify this attribute in Active Directory, the recipient's primary email address is not updated to the same value.
14881500
14891501
```yaml
14901502
Type: SmtpAddress

0 commit comments

Comments
 (0)