Skip to content

Commit c8609ff

Browse files
authored
Merge pull request MicrosoftDocs#3143 from MicrosoftDocs/chrisda
Chrisda to Master
2 parents 0cdbf07 + f6efcbb commit c8609ff

File tree

2 files changed

+55
-40
lines changed

2 files changed

+55
-40
lines changed

exchange/exchange-ps/exchange/client-access/Test-OutlookConnectivity.md

Lines changed: 47 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ The Test-OutlookConnectivity cmdlet runs the same process as the monitoring prob
9191

9292
This example lists the probes running in the backend services on a Mailbox server: `Get-MonitoringItemIdentity -Server MailboxServer1 -Identity outlook.protocol | ?{$_.Name -like '*probe'}`.
9393

94-
9594
This example lists the probes running in the client access services on a Mailbox server: `Get-MonitoringItemIdentity -Server MailboxServer1 -Identity outlook | ?{$_.Name -like '*probe'}`.
9695

9796
For more information on probes and the monitoring framework, see Managed Availability (https://go.microsoft.com/fwlink/p/?LinkId=510838), Managed Availability and Server Health (https://go.microsoft.com/fwlink/p/?LinkId=510839), and Customizing Managed Availability (https://go.microsoft.com/fwlink/p/?LinkId=510840)
@@ -110,54 +109,39 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
110109

111110
### -------------------------- Example 1 --------------------------
112111
```
113-
Test-OutlookConnectivity -Protocol:HTTP -GetDefaultsFromAutoDiscover:$true
112+
Test-OutlookConnectivity -ProbeIdentity OutlookMapiHttp.Protocol\OutlookMapiHttpSelfTestProbe
114113
```
115114

116-
In Exchange 2010, this example tests the most common end-to-end Outlook connectivity scenario for Outlook Anywhere. This includes testing for connectivity through the Autodiscover service, creating a user profile, and logging on to the user mailbox. All of the required values are retrieved from the Autodiscover service. Because the Identity parameter isn't specified, the command uses the temporary test user that you've created using the New-TestCasConnectivityUser.ps1 script. This example command can be run to test TCP/IP connectivity by setting the Protocol parameter to RPC.
115+
In Exchange 2013 or later, this example runs an MAPI over HTTP OutlookRpcSelfTestProbe on the Mailbox server that you're currently connected to.
117116

118117
### -------------------------- Example 2 --------------------------
119118
```
120-
Test-OutlookConnectivity -ProbeIdentity "OutlookRpcSelfTestProbe"
119+
Test-OutlookConnectivity "Outlook.Protocol\OutlookRpcDeepTestProbe\Mailbox Database 1234512345" -RunFromServerId PrimaryMailbox -MailboxId [email protected]
121120
```
122121

123-
In Exchange 2013 or later, this example runs an OutlookRpcSelfTestProbe on the mailbox server that you're currently connected to.
122+
In Exchange 2013 or later, this example runs the OutlookRpcDeepTestProbe from the "PrimaryMailbox" server for the mailbox "[email protected]" mounted on "Mailbox Database 1234512345". Because the Credential parameter is not specified, the probe will use the default testing credentials.
124123

125124
### -------------------------- Example 3 --------------------------
126125
```
127-
Test-OutlookConnectivity -RpcProxyTestType:Internal -RpcTestType:Server
126+
Test-OutlookConnectivity -Protocol HTTP -GetDefaultsFromAutoDiscover $true
128127
```
129128

130-
In Exchange 2010, this example tests for Outlook Anywhere connectivity using the local server as the RpcProxy endpoint as well as the RPC endpoint. Because the Identity parameter isn't specified, the command uses the temporary test user that you've created using the New-TestCasConnectivityUser.ps1 script. Modify this example to use the public external URL by setting the RpcProxyTestType parameter to External. Additionally, the example command can use the Client Access server array as the RPC endpoint by setting the RpcTestType parameter to Array. To only validate TCP/IP connectivity, omit the RpcProxyTestType parameter.
129+
In Exchange 2010, this example tests the most common end-to-end Outlook connectivity scenario for Outlook Anywhere. This includes testing for connectivity through the Autodiscover service, creating a user profile, and logging on to the user mailbox. All of the required values are retrieved from the Autodiscover service. Because the Identity parameter isn't specified, the command uses the temporary test user that you've created using the New-TestCasConnectivityUser.ps1 script. This example command can be run to test TCP/IP connectivity by setting the Protocol parameter to RPC.
131130

132131
### -------------------------- Example 4 --------------------------
133132
```
134-
Test-OutlookConnectivity "OutlookRpcDeepTestProbe\Mailbox Database 1234512345" -RunFromServerId PrimaryMailbox -MailboxId [email protected]
133+
Test-OutlookConnectivity -RpcProxyTestType:Internal -RpcTestType:Server
135134
```
136135

137-
In Exchange 2013 or later, this example runs the OutlookRpcDeepTestProbe from the "PrimaryMailbox" server for the mailbox "[email protected]" mounted on "Mailbox Database 1234512345". Because the Credential parameter is not specified, the probe will use the default testing credentials.
136+
In Exchange 2010, this example tests for Outlook Anywhere connectivity using the local server as the RpcProxy endpoint as well as the RPC endpoint. Because the Identity parameter isn't specified, the command uses the temporary test user that you've created using the New-TestCasConnectivityUser.ps1 script. Modify this example to use the public external URL by setting the RpcProxyTestType parameter to External. Additionally, the example command can use the Client Access server array as the RPC endpoint by setting the RpcTestType parameter to Array. To only validate TCP/IP connectivity, omit the RpcProxyTestType parameter.
138137

139138
### -------------------------- Example 5 --------------------------
140139
```
141-
Test-OutlookConnectivity -RpcProxyServer:RpcProxySrv01 -RpcProxyAuthenticationType:Basic -RpcClientAccessServer:CAS01 -RpcAuthenticationType:NTLM
140+
Test-OutlookConnectivity -RpcProxyServer RpcProxySrv01 -RpcProxyAuthenticationType Basic -RpcClientAccessServer CAS01 -RpcAuthenticationType NTLM
142141
```
143142

144143
In Exchange 2010, this example validates Outlook connectivity through RpcProxy on one server to a different server running the Client Access server role with Basic for the outer authentication layer and NTLM for the inner authentication layer. Using these parameters should allow you to validate most types of Outlook connectivity configurations. This command can also be used with the GetDefaultsFromAutoDiscover parameter set to $true if you only need to override one or two parameters. This following command is similar to running a connectivity test using the RPC Ping utility but provides stronger validation.
145144

146-
### -------------------------- Example 6 --------------------------
147-
```
148-
$TestCredentials = Get-Credential;
149-
Test-OutlookConnectivity -ProbeIdentity OutlookRpcCtpProbe -MailboxId [email protected] -Credential $TestCredentials
150-
```
151-
152-
In Exchange 2013 or later, this example runs the OutlookRpcCtpProbe and verifies the log-on credentials for the "[email protected]" mailbox.
153-
154-
### -------------------------- Example 7 --------------------------
155-
```
156-
Test-OutlookConnectivity -ProbeIdentity "OutlookRpcCTPProbe" -MailboxID [email protected]
157-
```
158-
159-
In Exchange 2013 or later, this example runs a logon test from the client access services on a Mailbox server for the mailbox [email protected].
160-
161145
## PARAMETERS
162146

163147
### -Identity
@@ -214,7 +198,11 @@ Accept wildcard characters: False
214198
### -RpcTestType
215199
This parameter is available or functional only in Exchange Server 2010.
216200
217-
The RpcTestType parameter specifies which type of RPC endpoint the command should test. Valid values are Server or Array. If Server is specified, the command uses the local server as the RPC endpoint. If Array is specified, the command looks for a ClientAccessArray object in the same Active Directory site where the command is being run.
201+
The RpcTestType parameter specifies which type of RPC endpoint the command should test. Valid values are:
202+
203+
- Server: The command uses the local server as the RPC endpoint.
204+
205+
- Array: The command looks for a ClientAccessArray object in the local Active Directory site.
218206
219207
```yaml
220208
Type: Array | Server
@@ -233,14 +221,12 @@ This parameter is available or functional only in Exchange Server 2010.
233221
234222
The WSTestType parameter specifies type of servers that you want to include in your Outlook connectivity test. You can use the following values:
235223
236-
- Unknown
224+
- Unknown (This is the default value.)
237225
238226
- Internal
239227
240228
- External
241229
242-
- The default value is Unknown.
243-
244230
```yaml
245231
Type: Unknown | Internal | External
246232
Parameter Sets: WSTestType
@@ -256,7 +242,11 @@ Accept wildcard characters: False
256242
### -Archive
257243
This parameter is available or functional only in Exchange Server 2010.
258244
259-
The Archive parameter specifies whether tests should be performed to connect to the user's on-premises archive mailbox. You don't need to specify a value for this parameter.
245+
The Archive parameter specifies whether tests should be performed to connect to the user's on-premises archive mailbox. Valid values are:
246+
247+
$true: Connect to the user's on-premises archive mailbox.
248+
249+
$false: Don't connect to the user's on-premises mailbox. This is the default value.
260250
261251
```yaml
262252
Type: $true | $false
@@ -292,7 +282,9 @@ Accept wildcard characters: False
292282
```
293283
294284
### -Credential
295-
The Credential parameter specifies the credential used by the probe. The system's test credentials are used by default. This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
285+
The Credential parameter specifies the credential used by the probe. The system's test credentials are used by default
286+
287+
This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
296288
297289
```yaml
298290
Type: PSCredential
@@ -326,6 +318,8 @@ This parameter is available or functional only in Exchange Server 2010.
326318
327319
The MailboxCredential parameter specifies certain credentials to allow logon access to a user's mailbox. Use the parameter along with the Identity parameter to access a user's mailbox when you don't have access permissions.
328320
321+
This parameter requires you to create a credentials object by using the Get-Credential cmdlet. For more information, see Get-Credential (https://go.microsoft.com/fwlink/p/?linkId=142122).
322+
329323
```yaml
330324
Type: PSCredential
331325
Parameter Sets: RpcProxyServer, Protocol, RpcTestType, WSTestType
@@ -356,7 +350,7 @@ Accept wildcard characters: False
356350
### -MonitoringContext
357351
This parameter is available or functional only in Exchange Server 2010.
358352
359-
The MonitoringContext parameter specifies whether the command returns additional information that can be used with Microsoft System Center Operations Manager 2007. The default value is $false.
353+
The MonitoringContext switch specifies whether the command returns additional information that can be used with Microsoft System Center Operations Manager. You don't need to specify a value with this switch.
360354
361355
```yaml
362356
Type: SwitchParameter
@@ -371,11 +365,23 @@ Accept wildcard characters: False
371365
```
372366
373367
### -ProbeIdentity
374-
The ProbeIdentity parameter specifies the probe to use.
368+
The ProbeIdentity parameter specifies the probe to use. Valid values are:
375369
376-
- RPC over HTTP (Outlook Anywhere) probes
370+
Outlook Anywhere (RPC over HTTP) probes:
377371
378-
- MAPI over HTTP probes
372+
- Outlook.Protocol\OutlookRpcSelfTestProbe: Validates that the RPC/HTTP endpoint is able to receive traffic on the Mailbox server. It does not attempt to log in to a mailbox. It is a high level check of connectivity.
373+
374+
- Outlook.Protocol\OutlookRpcDeepTestProbe: Validates that the RPC/HTTP endpoint is working on the Mailbox server. It will attempt to connect to and log in to the mailbox. Since no database is specified, it will attempt to connect to the first database returned by the Get-MailboxDatabase cmdlet.
375+
376+
- Outlook.Protocol\OutlookRpcDeepTestProbe\<Case-sensitive Mailbox Database Name>: Validates that the RPC/HTTP endpoint is working on the Mailbox Server. It will attempt to connect to and log in to the mailbox in the specified mailbox database. If the mailbox database name contains spaces, enclose the entire value in quotation marks (for example, "Outlook.Protocol\OutlookRpcDeepTestProbe\Mailbox Database 0352791530").
377+
378+
MAPI over HTTP probes:
379+
380+
- OutlookMapiHttp.Protocol\OutlookMapiHttpSelfTestProbe: Validates that the MAPI/HTTP endpoint is able to receive traffic on the Mailbox server. It does not attempt to log in to a mailbox. It is a high level check of connectivity.
381+
382+
- OutlookMapiHttp.Protocol\OutlookMapiHttpDeepTestProbe: Validates that the MAPI/HTTP endpoint is working on the Mailbox server. It will attempt to connect and log in to the mailbox. Since no database is specified, it will attempt to connect to the first database returned by the Get-MailboxDatabase cmdlet.
383+
384+
- OutlookMapiHttp.Protocol\OutlookRpcDeepTestProbe\<Case-sensitive Mailbox Database Name>: Validates that the MAPI/HTTP endpoint is working on the Mailbox Server. It will attempt to connect and log in to the mailbox in the specified database. If the mailbox database name contains spaces, enclose the entire value in quotation marks (for example, "Outlook.Protocol\OutlookRpcDeepTestProbe\Mailbox Database 0352791530").
379385
380386
```yaml
381387
Type: String
@@ -468,7 +474,11 @@ Accept wildcard characters: False
468474
### -RpcProxyTestType
469475
This parameter is available or functional only in Exchange Server 2010.
470476
471-
The RpcProxyTestType parameter specifies which HTTP endpoint the command should connect to. The value can be Internal or External. The Internal value refers to the local computer name (http://\<localcomputername\>, for example, http://CAS01). The External value refers to a public namespace (the external HTTP URL on the /rpc virtual directory, for example, http://mail.contoso.com).
477+
The RpcProxyTestType parameter specifies which HTTP endpoint the command should connect to. Valid values are:
478+
479+
- Internal: Refers to the local computer name (https://\<localcomputername\>, for example, httpS://CAS01).
480+
481+
- External: Refers to a public namespace (the external HTTP URL on the /rpc virtual directory, for example, https://mail.contoso.com).
472482
473483
```yaml
474484
Type: External | Internal
@@ -532,7 +542,7 @@ Accept wildcard characters: False
532542
### -TrustAnySslCert
533543
This parameter is available or functional only in Exchange Server 2010.
534544
535-
The TrustAnySslCert parameter can be set to $true to ignore any Secure Sockets Layer (SSL) certificate warnings. The default value is $false.
545+
The TrustAnySslCert switch specifies whether to ignore any Secure Sockets Layer (SSL) certificate warnings. You don't need to specify a value with this switch.
536546
537547
```yaml
538548
Type: SwitchParameter

exchange/exchange-ps/exchange/mailboxes/Remove-Mailbox.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ $Temp = Get-Mailbox | Where {$_.DisplayName -eq 'John Rodman'}; Remove-Mailbox -
9999

100100
This example removes John Rodman's mailbox from the mailbox database after the mailbox has been disconnected from the user account. The example uses the Get-Mailbox cmdlet to retrieve the mailbox GUID value of the disconnected mailbox, which is required by the StoreMailboxIdentity parameter.
101101

102+
### -------------------------- Example 4 --------------------------
103+
```
104+
Get-Mailbox -Identity Laura -SoftDeleted | Remove-Mailbox -PermanentlyDelete.
105+
```
106+
107+
In Exchange Online, this example removes the specified soft-deleted mailbox mailbox.
108+
102109
## PARAMETERS
103110

104111
### -Identity
@@ -385,12 +392,10 @@ The PermanentlyDelete switch specifies whether to immediately and permanently de
385392
386393
Notes:
387394
388-
- This switch works only on mailboxes that have already been deleted, but are still recoverable (known as soft-deleted mailboxes).
395+
- This switch works only on mailboxes that have already been deleted, but are still recoverable (known as soft-deleted mailboxes). Use the Get-Mailbox cmdlet to identify the soft-deleted mailbox, and then pipe the results to the Remove-Mailbox cmdlet as shown in Example 3 in this topic.
389396
390397
- This switch doesn't work on soft-deleted mailboxes that are on In-Place Hold or Litigation Hold (known as inactive mailboxes).
391398
392-
Use the Get-Mailbox cmdlet to identify the soft-deleted mailbox, and then pipe the results to the Remove-Mailbox cmdlet with this switch. For example, Get-Mailbox -Identity Laura -SoftDeleted | Remove-Mailbox -PermanentlyDelete.
393-
394399
```yaml
395400
Type: SwitchParameter
396401
Parameter Sets: Default

0 commit comments

Comments
 (0)