Get-PowerPivotServiceApplication cmdlet

返回一个或多个 PowerPivot 服务应用程序。

语法

Get-PowerPivotServiceApplication [[-Identity] <SPGeminiServiceApplicationPipeBind>] [<CommonParameters>]

说明

Get-PowerPivotServiceApplication cmdlet 返回 Identity 参数指定的服务应用程序。 如果未指定任何参数,cmdlet 将返回场中的所有 PowerPivot 服务应用程序。 每个应用程序都由其显示名称、应用程序类型和 GUID 标识。 若要查看 PowerPivot 服务应用程序的其他属性,请向该 cmdlet 添加 format-list 选项。

参数

-Identity <SPGeminiServiceApplicationPipeBind>

指定要获取的服务应用程序。 该值必须是一个有效的 GUID,用于唯一标识场中的对象。

必需?

false

位置?

0

默认值

接受管道输入?

true

接受通配符?

false

<CommonParameters>

此 cmdlet 支持以下常用参数:Verbose、Debug、ErrorAction、ErrorVariable、WarningAction、WarningVariable、OutBuffer 和 OutVariable。 有关详细信息,请参阅 About_CommonParameters

输入和输出

输入类型是可以传送到 cmdlet 的对象的类型。 返回类型是 cmdlet 所返回的对象的类型。

输入

无。

输出

无。

示例 1

C:\PS>Get-PowerPivotServiceApplication

此示例返回场中的一个或多个服务应用程序。

示例 2

C:\PS>Get-PowerPivotServiceApplication | format-list

此示例返回 PowerPivot 服务应用程序的所有属性。

示例 3

C:\PS>get-PowerPivotServiceApplication -Identity 1234567-890a-bcde-fghijklm

此示例返回单个服务应用程序,并且显示其显示名称、应用程序类型和应用程序的 GUID。 如果显示名称太长,它将被截断。 使用 format-list 选项可以查看完整名称。