Get-ReportExecutionInstance

此 cmdlet 仅在基于云的服务中可用。

使用 Get-ReportExecutionInstance cmdlet 查看 Exchange Online 中的报表执行实例。

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

语法

Default (默认值)

Get-ReportExecutionInstance
    [-Identity <InstanceIdParameter>]
    [-ScheduleId <MultiValuedProperty>]
    [<CommonParameters>]

说明

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

示例

示例 1

Get-ReportExecutionInstance | Format-Table -Auto Identity,ScheduleId,ReportStartDate,ReportEndDate

此示例返回所有报表执行实例的摘要列表。

示例 2

Get-ReportExecutionInstance -Identity 277df7c3-5b73-4409-6264-08d4a8052836

此示例返回指定报表执行实例的详细信息。

参数

-Identity

适用:Exchange Online、Exchange Online Protection

Identity 参数指定要查看的报表执行实例。 实例的标识是唯一的 GUID 值。

参数属性

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

参数集

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

-ScheduleId

适用:Exchange Online、Exchange Online Protection

ScheduleId 参数按指定的 ScheduleId 属性值(即 GUID)筛选结果。 多个报表执行实例可以具有相同的 ScheduleId 值。

参数属性

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

参数集

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

CommonParameters

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