Skip to content

Remove extra spaces and returns #12591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 0 additions & 2 deletions exchange/exchange-ps/exchange/Export-ContentExplorerData.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ When you use this switch with the TagName, TagType, and Workload parameters, the
- Exchange Online and Microsoft Teams: The list of UPNs.
- The count of items in the folders stamped with relevant tag.



```yaml
Type: SwitchParameter
Parameter Sets: (All)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ $stringJson = @"
'EmailAddress': 'SalesUser@contoso.onmicrosoft.com'
}]
"@
Set-AppRetentionCompliancePolicy -Identity "Teams Private Channel Retention Policy" -AddExchangeLocationException "SalesUser@contoso.onmicrosoft.com" -DeletedResources $stringJson
Set-AppRetentionCompliancePolicy -Identity "Teams Private Channel Retention Policy" -AddExchangeLocationException "SalesUser@contoso.onmicrosoft.com" -DeletedResources $stringJson
```
This example excludes the specified soft-deleted mailbox or mail user from the retention policy configured for Teams private channel messages. You can identify the deleted resources using the mailbox or mail user's email address.

Expand All @@ -144,7 +144,7 @@ $stringJson = @"
'EmailAddress': 'SalesUser2@contoso.onmicrosoft.com'
}]
"@
Set-AppRetentionCompliancePolicy -Identity "Teams Private Chat Retention Policy" -AddExchangeLocationException "SalesUser1@contoso.onmicrosoft.com", "SalesUser2@contoso.onmicrosoft.com" -DeletedResources $stringJson
Set-AppRetentionCompliancePolicy -Identity "Teams Private Chat Retention Policy" -AddExchangeLocationException "SalesUser1@contoso.onmicrosoft.com", "SalesUser2@contoso.onmicrosoft.com" -DeletedResources $stringJson
```

This example is similar to Example 2, except multiple deleted resources are specified.
Expand Down
2 changes: 1 addition & 1 deletion exchange/exchange-ps/exchange/Set-ArcConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ $y = @($x.Split(","))
$DomainsRemove = [System.Collections.ArrayList]($y)
$DomainsRemove.Remove($arcSealer)

if ($DomainsToRemove.Count -eq 0) {
if ($DomainsToRemove.Count -eq 0) {
Set-ArcConfig -Identity Default -ArcTrustedSealers " "
}
else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ The example excludes the specified deleted Microsoft 365 Group and site from the

**IMPORTANT**: Before you run this command, make sure you read the Caution information for the [DeletedResources parameter](#-deletedresources) about duplicate SMTP addresses.


### Example 4
```powershell
$stringJson = @"
Expand Down Expand Up @@ -213,7 +212,7 @@ $stringJson = @"
}]
"@

Set-RetentionCompliancePolicy -Identity "Teams Chat Retention Policy" -AddTeamsChatLocationException "SalesUser1@contoso.onmicrosoft.com", "SalesUser2@contoso.onmicrosoft.com" -DeletedResources $stringJson
Set-RetentionCompliancePolicy -Identity "Teams Chat Retention Policy" -AddTeamsChatLocationException "SalesUser1@contoso.onmicrosoft.com", "SalesUser2@contoso.onmicrosoft.com" -DeletedResources $stringJson
```

This example is similar to Example 5, except multiple deleted resources are specified.
Expand All @@ -222,7 +221,6 @@ This example is similar to Example 5, except multiple deleted resources are spec

Policy exclusions must remain within the supported limits for retention policies: [Limits for Microsoft 365 retention policies and retention label policies](https://learn.microsoft.com/purview/retention-limits#maximum-number-of-items-per-policy)


## PARAMETERS

### -Identity
Expand Down