Skip to content

Commit f69ab9c

Browse files
authored
Merge branch 'master' into markjjo-working
2 parents 6a4b0d9 + cdd02df commit f69ab9c

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)