Skip to content

Commit cdd02df

Browse files
authored
Merge pull request MicrosoftDocs#6324 from dbird03/patch-1
Update Set-EmailAddressPolicy.md
2 parents e3209ae + f0bb22b commit cdd02df

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

exchange/exchange-ps/exchange/Set-EmailAddressPolicy.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ Set-EmailAddressPolicy -Identity "Contoso Corp" -DisabledEmailAddressTemplates $
8888

8989
In on-premises Exchange, this example clears the disabled email address templates from the email address policy named Contoso Corp.
9090

91+
### Example 3
92+
```powershell
93+
Set-EmailAddressPolicy -Identity 'Office 365 Groups' -EnabledEmailAddressTemplates "SMTP:@contoso.com","@contoso.onmicrosoft.com","smtp:@contoso.microsoftonline.com"
94+
```
95+
96+
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".
97+
9198
## PARAMETERS
9299

93100
### -Identity

0 commit comments

Comments
 (0)