Invoke-MonitoringProbe

此 cmdlet 仅适用于本地 Exchange。

使用 Invoke-MonitoringProbe cmdlet 在所选服务器上运行托管可用性探测。

此 cmdlet 不能用于运行每个托管可用性探测。 仅某些探测 (主要是深度测试探测) 可以使用此 cmdlet 手动运行。 使用 Invoke-MonitoringProbe 运行时,无法使用此 cmdlet 运行的探测会返回错误消息。

有关以下语法部分的参数设置的详细信息,请参阅 Exchange cmdlet 语法

语法

Default (默认值)

Invoke-MonitoringProbe
    [-Identity] <String>
    -Server <ServerIdParameter>
    [-Account <String>]
    [-Endpoint <String>]
    [-ItemTargetExtension <String>]
    [-Password <String>]
    [-PropertyOverride <String>]
    [-SecondaryAccount <String>]
    [-SecondaryEndpoint <String>]
    [-SecondaryPassword <String>]
    [-TimeOutSeconds <String>]
    [<CommonParameters>]

说明

您必须先获得权限,然后才能运行此 cmdlet。 尽管本文列出了 cmdlet 的所有参数,但如果某些参数未包含在分配给你的权限中,则可能无法访问这些参数。 若要查找在贵组织中运行任何 cmdlet 或参数所需的权限,请参阅 Find the permissions required to run any Exchange cmdlet

示例

示例 1

Invoke-MonitoringProbe -Identity ActiveSync.Protocol\ActiveSyncSelfTestProbe -Server EX1

本示例在 EX1 服务器上创建Exchange ActiveSync监视探测。

参数

-Account

适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019

Account 参数指定用于运行监视探测的邮箱或用户帐户的标识。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Endpoint

适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019

Endpoint 参数指定要连接到的监视探测终结点的名称,例如,contoso.mail.com。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Identity

适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019

Identity 参数指定要运行的监视探测的标识。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:1
必需:True
来自管道的值:True
来自管道的值(按属性名称):True
来自剩余参数的值:False

-ItemTargetExtension

适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019

ItemTargetExtension 参数指定可传递给监视探测的 cmdlet 扩展数据。 服务器上运行的探测可能需要特定数据来执行。 此数据以 XML 格式呈现给探测执行。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Password

适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019

Password 参数指定用于运行监视探测的邮箱或用户帐户的密码。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-PropertyOverride

适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019

PropertyOverride 参数指定要重写的属性,例如,将超时值设置为超出默认值。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SecondaryAccount

适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019

SecondaryAccount 参数指定用于运行监视探测的委托邮箱或用户帐户的标识。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SecondaryEndpoint

适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019

SecondaryEndpoint 参数指定要连接到的辅助监视探测终结点的名称,例如,contoso.mail.fabrikam.com。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SecondaryPassword

适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019

SecondaryPassword 参数指定用于运行监视探测的委托邮箱或用户帐户的密码。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Server

适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019

服务器参数指定要运行此命令的Exchange服务器。 可以使用唯一标识该服务器的任何值。 例如:

  • 名称
  • FQDN
  • 可分辨名称 (DN)
  • Exchange 旧版 DN

不能使用此参数来远程配置其他边缘传输服务器。

参数属性

类型:ServerIdParameter
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-TimeOutSeconds

适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019

TimeOutSeconds 参数指定监视作超时期限。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

Input types

若要了解此 cmdlet 接受的输入类型,请参阅 cmdlet 的输入和输出类型。 如果 cmdlet 的"输入类型"字段为空,则表明此 cmdlet 不接受输入数据。

输出

Output types

若要了解此 cmdlet 接受的返回类型(亦称为"输出类型"),请参阅 cmdlet 的输入和输出类型。 如果"输出类型"字段为空,则表明此 cmdlet 不返回任何数据。