Skip to content

Commit 105284f

Browse files
committed
Updated Set-Mailbox cmdlet documentation
1 parent 4832581 commit 105284f

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

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

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3075,7 +3075,37 @@ Accept wildcard characters: False
30753075

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

3078-
The ExcludeFromAllHolds switch removes all holds and excludes this mailbox from retention policies. You don't need to specify a value with this switch.
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.
3079+
3080+
#### Holds That Are Removed
3081+
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 |
3089+
3090+
#### Holds That Are Not Removed
3091+
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+
```
3107+
3108+
30793109

30803110
```yaml
30813111
Type: SwitchParameter

0 commit comments

Comments
 (0)