Skip to content

Commit a320c2e

Browse files
authored
Update Set-Mailbox.md
1 parent 105284f commit a320c2e

File tree

1 file changed

+14
-25
lines changed

1 file changed

+14
-25
lines changed

exchange/exchange-ps/ExchangePowerShell/Set-Mailbox.md

Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3075,37 +3075,26 @@ Accept wildcard characters: False
30753075

30763076
This parameter is available only in the cloud-based service.
30773077

3078-
The ExcludeFromAllHolds parameter is a cmdlet switch that removes all holds from inactive mailboxes except for eDiscovery holds, litigation hold, and restrictive retention policies. The primary use case for ExcludeFromAllHolds is permanently deleting inactive mailboxes by removing holds while preserving compliance requirements.
3078+
The ExcludeFromAllHolds switch permanetly deletes inactive mailboxes by removing holds while preserving complaince requirements. You don't need to specific a value with this switch.
30793079

3080-
#### Holds That Are Removed
3080+
This switch removes the following types of holds:
30813081

3082-
| Hold Type | Description | Scope |
3083-
|-----------|-------------|-------|
3084-
| Organization-level retention policies | Org-wide holds applied to all or most mailboxes | Global |
3085-
| User-level retention policies | Specific mailbox holds with targeted scope | Mailbox |
3086-
| Compliance Tag Holds | Content-based retention holds (when no restrictive policies exist) | Mailbox |
3087-
| Delay Holds | Temporary holds during policy transitions | Temporary |
3088-
| Delay Release Holds | Holds preventing immediate deletion during policy changes | Temporary |
3082+
- Organization-level retention policies (organization-wide holds that apply to all or most mailboxes).
3083+
- User-level retention policies (specific mailbox holds with targeted scope).
3084+
- Compliance tag holds (content-based retention holds when no restrictive policies exist).
3085+
- Delay holds (temporary holds during policy transitions).
3086+
- Delay release holds (holds that prevent immediate deletion during policy changes).
30893087

3090-
#### Holds That Are Not Removed
3088+
This switch doesn't remove the following types of holds:
30913089

3092-
| Hold Type | Reason for Preservation | Impact |
3093-
|-----------|------------------------|--------|
3094-
| eDiscovery holds | Legal compliance and litigation requirements | Maintained for compliance |
3095-
| Litigation hold | Legal compliance and litigation requirements | Maintained for compliance |
3096-
| Restrictive retention policies | Regulatory compliance requirements | Preserved per compliance rules |
3097-
| Policy configurations | Does not update policy exclusion lists | No policy modification |
3098-
3099-
3100-
#### Example: Remove Holds from Single Inactive Mailbox
3101-
```PowerShell
3102-
Set-Mailbox -Identity "[email protected]" -ExcludeFromAllHolds
3103-
3104-
Get-Mailbox -InactiveMailboxOnly -Identity "[email protected]" |
3105-
Select-Object Name, InPlaceHolds, IsInactiveMailbox
3106-
```
3090+
- eDiscovery holds (maintained for compliance).
3091+
- Litigation holds (maintained for compliance).
3092+
- Restrictive retention policies (preserved for compliance rules).
3093+
- Policy configurations (doesn't update policy exclusion lists).
31073094

3095+
After you use this switch in a **Set-Mailbox** command on an inactive mailbox, run the following **Get-Mailbox** command to confirm the results:
31083096

3097+
`Get-Mailbox -InactiveMailboxOnly -Identity "[email protected]" | Format-List Name,InPlaceHolds,IsInactiveMailbox`
31093098

31103099
```yaml
31113100
Type: SwitchParameter

0 commit comments

Comments
 (0)