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
The MessageId parameter filters the results by the Message-ID header field of the message. This value is also known as the Client ID. The format of the Message-ID depends on the messaging server that sent the message. The value should be unique for each message. However, not all messaging servers create values for the Message-ID in the same way. Be sure to include the full Message ID string. This may include angle brackets.
95
+
The MessageId parameter filters the results by the Message-ID header field of the message. This value is also known as the Client ID. The format of the Message-ID depends on the messaging server that sent the message. The value should be unique for each message. However, not all messaging servers create values for the Message-ID in the same way. Be sure to include the full Message ID string (which may include angle brackets) and enclose the value in quotation marks (for example, "<d9683b4c-127b-413a-ae2e-fa7dfb32c69d@DM3NAM06BG401.Eop-nam06.prod.protection.outlook.com>").
This example returns public folder mailbox migration requests that don't have a target mailbox.
74
+
75
+
### -------------------------- Example 4 --------------------------
76
+
```
77
+
Get-PublicFolderMailboxMigrationRequest | group TargetMailbox |?{$_.Count -gt 1}
78
+
```
79
+
80
+
This example returns duplicate public folder migration requests (requests created for the same target mailbox). If the command returns no results, then there are no duplicate migration requests.
This cmdlet is available only in on-premises Exchange.
12
+
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
14
Use the Remove-PublicFolderMailboxMigrationRequest cmdlet to remove individual jobs from public folder migration batches that were created by using the New-MigrationBatch cmdlet.
The Remove-PublicFolderMailboxMigrationRequest cmdlet is intended for troubleshooting and should be used under the direction of Microsoft Customer Service and Support.
39
-
40
38
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet (https://technet.microsoft.com/library/mt432940.aspx).
This example returns public folder mailbox migration requests that don't have a target mailbox. To remove these orphaned migration requests, add " | Remove-PublicFolderMailboxMigrationRequest" to the end of the command.
55
+
56
+
### -------------------------- Example 3 --------------------------
57
+
```
58
+
Get-PublicFolderMailboxMigrationRequest | group TargetMailbox |?{$_.Count -gt 1}
59
+
```
60
+
61
+
This example returns duplicate public folder migration requests (requests created for the same target mailbox). If the command returns no results, then there are no duplicate migration requests.
62
+
63
+
A sample script is provided here: (https://gallery.technet.microsoft.com/scriptcenter/Remove-Duplicate-public-055f0e5e) to detect duplicate or orphaned public folder mailbox migration requests and also remove them.
64
+
51
65
## PARAMETERS
52
66
53
67
### -Identity
@@ -59,7 +73,7 @@ You can't use this parameter with the RequestGuid or RequestQueue parameters.
This parameter is available only in on-premises Exchange.
143
+
128
144
The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name (FQDN). For example, dc01.contoso.com.
The WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would occur without actually applying those changes. You don't need to specify a value with this switch.
158
+
### -Force
159
+
The Force switch specifies whether to suppress warning or confirmation messages. You can use this switch to run tasks programmatically where prompting for administrative input is inappropriate. You don't need to specify a value with this switch.
144
160
145
161
```yaml
146
162
Type: SwitchParameter
147
-
Parameter Sets: (All)
148
-
Aliases:wi
149
-
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
163
+
Parameter Sets: Identity
164
+
Aliases:
165
+
Applicable: Exchange Server 2016, Exchange Server 2019, Exchange Online
150
166
Required: False
151
167
Position: Named
152
168
Default value: None
153
169
Accept pipeline input: False
154
170
Accept wildcard characters: False
155
171
```
156
172
157
-
### -Force
158
-
The Force switch specifies whether to suppress warning or confirmation messages. You can use this switch to run tasks programmatically where prompting for administrative input is inappropriate. You don't need to specify a value with this switch.
173
+
### -WhatIf
174
+
The WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would occur without actually applying those changes. You don't need to specify a value with this switch.
159
175
160
176
```yaml
161
177
Type: SwitchParameter
162
-
Parameter Sets: Identity
163
-
Aliases:
164
-
Applicable: Exchange Server 2016, Exchange Server 2019
178
+
Parameter Sets: (All)
179
+
Aliases:wi
180
+
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
0 commit comments