Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update Set-EmailAddressPolicy.md
This PR is an update to my PR #6324 I submitted Aug 14, 2020. This PR fixes an omittance in the PowerShell code of Example 3, changes the code to use double quotes to be consistent with other examples, and makes the explanation wording more clear.
  • Loading branch information
dbird03 authored Jan 19, 2021
commit e7539a81e27d8196352d813ced6757131284b066
4 changes: 2 additions & 2 deletions exchange/exchange-ps/exchange/Set-EmailAddressPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ In on-premises Exchange, this example clears the disabled email address template

### Example 3
```powershell
Set-EmailAddressPolicy -Identity 'Office 365 Groups' -EnabledEmailAddressTemplates "SMTP:@contoso.com","@contoso.onmicrosoft.com","smtp:@contoso.microsoftonline.com"
Set-EmailAddressPolicy -Identity "Office 365 Groups" -EnabledEmailAddressTemplates "SMTP:@contoso.com","smtp:@contoso.onmicrosoft.com","smtp:@contoso.microsoftonline.com"
```

In Exchange Online, this example modifies the existing email adress policy named Office 365 Groups by setting the enabled email address templates to "SMTP:@contoso.com", and "@contoso.onmicrosoft.com", and "smtp:@contoso.microsoftonline.com". This will also set the enabled primary SMTP address template to "@contoso.com".
In Exchange Online, this example modifies the existing email adress policy named "Office 365 Groups" and sets the enabled email address templates to use "@contoso.com" as the primary SMTP address and "@contoso.onmicrosoft.com" and "@contoso.microsoftonline.com" as proxy addresses.

## PARAMETERS

Expand Down