You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/mailboxes/Set-Mailbox.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2564,7 +2564,7 @@ This parameter is available only in Exchange Online.
2564
2564
2565
2565
The ExcludeFromOrgHolds parameter excludes the mailbox from one or more organization-wide Office 365 retention policies. This parameter can only be used for inactive mailboxes. A valid value for this parameter is the GUID of the organization-wide Office 365 retention policy that the inactive mailbox is excluded from. To find the GUID values of organization-wide Office 365 retention policies, run the command Get-OrganizationConfig | Format-List InplaceHolds. Note that retention policies assigned to mailboxes are prefaced by 'mbx'.
2566
2566
2567
-
You can specify multiple values for this parameter by using the syntax “GUID1”,”GUID2”,…”GUIDX”.
2567
+
You can specify multiple values for this parameter by using the syntax "GUID1",”GUID2",…"GUIDX".
2568
2568
2569
2569
When you use this parameter, use the DistinguishedName or ExchangeGuid property value for the identity of the inactive mailbox (those are the values that guarantee uniqueness).
This cmdlet is available in on-premises Exchange and in the cloud-based service. Some parameters and settings may be exclusive to one environment or the other.
13
13
14
-
Use the New-ComplianceSearchAction cmdlet to create actions for compliance searches in Exchange Server 2016 and in the Office 365 Security & Compliance Center.
14
+
Use the New-ComplianceSearchAction cmdlet to create actions for content searches in Exchange Server and in the Office 365 Security & Compliance Center.
15
15
16
16
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax (https://technet.microsoft.com/library/bb123552.aspx).
After you create a compliance search using the New-ComplianceSearch cmdlet and run it using the Start-ComplianceSearch cmdlet, you assign a search action to the search using the New-ComplianceSearchAction cmdlet.
86
+
After you create a content search using the New-ComplianceSearch cmdlet and run it using the Start-ComplianceSearch cmdlet, you assign a search action to the search using the New-ComplianceSearchAction cmdlet.
90
87
91
88
In on-premises Exchange, this cmdlet is available in the Mailbox Search role. By default, this role is assigned only to the Discovery Management role group, and not to the Organization Management role group.
92
89
@@ -101,35 +98,43 @@ You need to be assigned permissions in the Office 365 Security & Compliance Cent
This example deletes the search results returned by a compliance search named Remove Phishing Message. Note that unindexed items aren't deleted when you use the Purge parameter.
115
+
This example deletes the search results returned by a content search named Remove Phishing Message. Note that unindexed items aren't deleted when you use the Purge parameter.
116
+
117
+
### -------------------------- Example 4 --------------------------
118
+
119
+
```
120
+
New-ComplianceSearchAction -SearchName "Case 321 All Sites" -Export -SharePointArchiveFormat SingleZip
121
+
```
122
+
123
+
This example exports the results returned by the content search named "Case 321 All Sites". The search results are compressed and exported to a single ZIP file. If the search included any Exchange locations, the search results are exported as one PST file per mailbox (the default value of the ExchangeArchiveFormat parameter).
119
124
120
125
## PARAMETERS
121
126
122
127
### -SearchName
123
-
The SearchName parameter specifies the name of the existing compliance search to associate with the compliance search action. You can specify multiple compliance searches separated by commas.
128
+
The SearchName parameter specifies the name of the existing content search to associate with the content search action. You can specify multiple content searches separated by commas.
124
129
125
-
You can find the compliance search by running the command Get-ComplianceSearch | Format-Table -Auto Name,Status.
130
+
You can find the content search by running the command Get-ComplianceSearch | Format-Table -Auto Name,Status.
126
131
127
132
```yaml
128
133
Type: String[]
129
134
Parameter Sets: (All)
130
135
Aliases:
131
136
Applicable: Exchange Server 2016, Office 365 Security & Compliance Center
This parameter is available only in the cloud-based service.
141
146
142
-
The ActionName parameter specifies a name for the compliance search action. You use this parameter only when you specify multiple compliance searches in the SearchName parameter.
147
+
The ActionName parameter specifies a name for the content search action. You use this parameter only when you specify multiple content searches in the SearchName parameter.
143
148
144
149
```yaml
145
150
Type: String
@@ -160,7 +165,7 @@ This parameter requires the Export role in the Security & Compliance Center. By
160
165
161
166
This parameter has been deprecated and is no longer used.
162
167
163
-
To specify the format for Exchange search results, use the SharePointArchiveFormat parameter.
168
+
To specify the format for Exchange search results, use the ExchangeArchiveFormat parameter. To specify the format for SharePoint and OneDrive search results, use the SharePointArchiveFormat parameter.
This parameter is available only in the cloud-based service.
198
203
199
-
The EnableDedupe parameter eliminates duplication of messages when you export compliance search results. Valid values are:
204
+
The EnableDedupe parameter eliminates duplication of messages when you export content search results. Valid values are:
200
205
201
206
- $true: Export a single copy of a message if the same message exists in multiple folders or mailboxes.
202
207
@@ -229,11 +234,11 @@ The ExchangeArchiveFormat parameter specifies how to export Exchange search resu
229
234
230
235
- IndividualMessage: Export each message as an .msg message file.
231
236
232
-
- SingleZip: One ZIP file for all mailboxes. The ZIP file contains all exported .msg message files from all mailboxes.
237
+
- PerUserZip: One ZIP file for each mailbox. Each ZIP file contains the exported .msg message files from the mailbox. This value corresponds to the "export files in a compressed folder" checkbox in the Security & Compliance Center.
233
238
234
-
- PerUserZip: One ZIP file for each mailbox. Each ZIP file contains the exported .msg message files from the mailbox.
239
+
- SingleZip: One ZIP file for all mailboxes. The ZIP file contains all exported .msg message files from all mailboxes. This output setting is only available in PowerShell.
235
240
236
-
To specify the format for SharePoint and OneDrive search results, use the ArchiveFormat parameter.
241
+
To specify the format for SharePoint and OneDrive search results, use the SharePointArchiveFormat parameter.
237
242
238
243
```yaml
239
244
Type: ComplianceExportArchiveFormat
@@ -252,7 +257,7 @@ This parameter is available only in the cloud-based service.
252
257
253
258
This parameter requires the Export role in the Security & Compliance Center. By default, the Export role is assigned only to the eDiscovery Manager role group.
254
259
255
-
The Export switch specifies the action for the compliance search is to export the full set of results that match the search criteria. You don't need to specify a value with this switch.
260
+
The Export switch specifies the action for the content search is to export the full set of results that match the search criteria. You don't need to specify a value with this switch.
256
261
257
262
To only return the information about each detected item in a report, use the Report switch.
The Preview switch specifies the action for the compliance search is to preview the results that match the search criteria. You don't need to specify a value with this switch.
421
+
The Preview switch specifies the action for the content search is to preview the results that match the search criteria. You don't need to specify a value with this switch.
417
422
418
423
In the Security & Compliance Center, this parameter requires the Preivew role. By default, the Preview role is assigned only to the eDiscovery Manager role group.
The Purge switch specifies the action for the compliance search is to remove items that match the search criteria. You don't need to specify a value with this switch.
438
+
The Purge switch specifies the action for the content search is to remove items that match the search criteria. You don't need to specify a value with this switch.
434
439
435
440
Note that a maximum of 10 items per mailbox can be removed at one time. Because the capability to search for and remove messages is intended to be an incident-response tool, this limit helps ensure that messages are quickly removed from mailboxes. This action isn't intended to clean up user mailboxes.
This parameter is available only in the cloud-based service.
504
509
505
-
The Report switch specifies the action for the compliance search is to export a report about the results (information about each item instead of the full set of results) that match the search criteria. You don't need to specify a value with this switch.
510
+
The Report switch specifies the action for the content search is to export a report about the results (information about each item instead of the full set of results) that match the search criteria. You don't need to specify a value with this switch.
The RetentionReport switch specifies the action for the compliance search is to export a retention report. You don't need to specify a value with this switch.
525
+
The RetentionReport switch specifies the action for the content search is to export a retention report. You don't need to specify a value with this switch.
521
526
522
527
```yaml
523
528
Type: SwitchParameter
@@ -584,7 +589,7 @@ The Scope parameter specifies the items to include when the action is Export. Va
584
589
585
590
- BothIndexedAndUnindexedItems
586
591
587
-
This parameter is only meaningful for compliance searches where the IncludeUnindexedItemsEnabled parameter is set to $true.
592
+
This parameter is only meaningful for content searches where the IncludeUnindexedItemsEnabled parameter is set to $true.
This parameter is available only in the cloud-based service.
622
627
623
-
The SearchNames parameter specifies the names of the existing compliance searches to associate with the compliance search action. You separate the compliance searche names by commas.
628
+
The SearchNames parameter specifies the names of the existing content searches to associate with the content search action. You separate the content searche names by commas.
624
629
625
-
You can find compliance search names by running the command Get-ComplianceSearch | Format-Table -Auto Name,Status.
630
+
You can find content search names by running the command Get-ComplianceSearch | Format-Table -Auto Name,Status.
626
631
627
632
```yaml
628
633
Type: String[]
@@ -643,11 +648,11 @@ This parameter requires the Export role in the Office 365 Security & Compliance
643
648
644
649
The SharePointArchiveFormat parameter specifies how to export SharePoint and OneDrive search results. Valid values are:
645
650
646
-
- IndividualMessage: Export the files uncompressed.
651
+
- IndividualMessage: Export the files uncompressed. This is the default value.
647
652
648
-
- SingleZip: Export the search restuls to a ZIP file.
653
+
- PerUserZip: One ZIP file for each user. Each ZIP file contains the exported files for the user. This value corresponds to the "export files in a compressed folder" checkbox in the Security & Compliance Center.
649
654
650
-
- PerUserZip: Export the search restuls to a ZIP file.
655
+
- SingleZip: One ZIP file for all users. The ZIP file contains all exported files from all users. This output setting is only available in PowerShell.
651
656
652
657
To specify the format for Exchange search results, use the ExchangeArchiveFormat parameter.
0 commit comments