Set-SPPerformancePointServiceApplication

设置PerformancePoint Services应用程序的全局运行时属性。

语法

Set-SPPerformancePointServiceApplication
   [-Identity] <SPPerformancePointMonitoringServiceApplicationPipeBind>
   [-AnalyticQueryCellMax <Int32>]
   [-AnalyticQueryLoggingEnabled <Boolean>]
   [-ApplicationCacheEnabled <Boolean>]
   [-ApplicationCacheMinimumHitCount <Int32>]
   [-ApplicationPool <SPIisWebServiceApplicationPoolPipeBind>]
   [-ApplicationProxyCacheEnabled <Boolean>]
   [-AssignmentCollection <SPAssignmentCollection>]
   [-CommentsDisabled <Boolean>]
   [-CommentsScorecardMax <Int32>]
   [-Confirm]
   [-DatabaseFailoverServer <String>]
   [-DatabaseName <String>]
   [-DatabaseServer <String>]
   [-DatabaseSQLAuthenticationCredential <PSCredential>]
   [-DataSourceQueryTimeoutSeconds <Int32>]
   [-DecompositionTreeMaximum <Int32>]
   [-ElementCacheSeconds <Int32>]
   [-FilterRememberUserSelectionsDays <Int32>]
   [-FilterTreeMembersMax <Int32>]
   [-IndicatorImageCacheSeconds <Int32>]
   [-MSMQEnabled <Boolean>]
   [-MSMQName <String>]
   [-SelectMeasureMaximum <Int32>]
   [-SessionHistoryHours <Int32>]
   [-SettingsDatabase <String>]
   [-ShowDetailsInitialRows <Int32>]
   [-ShowDetailsMaxRows <Int32>]
   [-ShowDetailsMaxRowsDisabled <Boolean>]
   [-TrustedContentLocationsRestricted <Boolean>]
   [-TrustedDataSourceLocationsRestricted <Boolean>]
   [-WhatIf]
   [-AnalyticResultCacheMinimumHitCount <Int32>]
   [-DatabaseUseWindowsAuthentication <Boolean>]
   [-DataSourceUnattendedServiceAccountTargetApplication <String>]
   [-FilterSearchResultsMax <Int32>]
   [-UseEffectiveUserName <Boolean>]
   [<CommonParameters>]

说明

Set-SPPerformancePointServiceApplication cmdlet 更新 PerformancePoint Service 应用程序的全局运行时属性。 使用此 cmdlet 对属性所做的更改会影响服务器场中运行指定 PerformancePoint Service 应用程序实例的所有服务器。

有关适用于 SharePoint 产品的 Windows PowerShell 的权限和最新信息,请参阅 SharePoint Server cmdlet

示例

----------------示例----------------------

$sa = Get-SPPerformancePointServiceApplication
Set-SPPerformancePointServiceApplication -Identity $sa -DataSourceQueryTimeoutSeconds 5000

This example sets the Data Source Query Timeout setting to a value of 5000. This cmdlet is equivalent to the PerformancePoint Service Settings page on the SharePoint Central Administration Web site.

参数

-AnalyticQueryCellMax

指定分析表格中返回的单元格的最大数目。

有效整数值范围为 1 至 1,000,000,000。 默认值为 100,000。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-AnalyticQueryLoggingEnabled

打开查询事件的详细日志记录功能。

键入的值必须是以下项之一:True、False。 默认值为 False。

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-AnalyticResultCacheMinimumHitCount

缓存开始发生之前需要访问分析报表的最小次数。 默认值为 0。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ApplicationCacheEnabled

指定应用程序服务器上呈现的输出缓存是打开 (True) 还是关闭 (False)。 默认值为 True。

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ApplicationCacheMinimumHitCount

指定在将呈现的输出添加到缓存前必须先请求的最少次数。 默认值为 2。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ApplicationPool

指定要在其中运行服务应用程序的 Web 服务的现有 IIS 应用程序池。

键入的值必须是 12345678-90ab-cdef-1234-567890bcdefgh 形式的有效 GUID;应用程序池的有效名称(如 AppPoolName1);或有效 IISWebServiceApplicationPool 对象的实例。

Type:SPIisWebServiceApplicationPoolPipeBind
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ApplicationProxyCacheEnabled

指定 Web 前端上呈现的输出缓存。 默认值为 True。

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-CommentsDisabled

指定用户可在记分板单元格中添加注释。

键入的值必须是以下项之一:$True、$False。 默认值为 $False。

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-CommentsScorecardMax

指定可添加到记分板的最多注释数。 默认值为 1000。

键入的值必须是介于 1 至 1,000,000 的整数值。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Confirm

执行命令前,看到确认提示。 有关详细信息,请键入以下命令:get-help about_commonparameters

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-DatabaseFailoverServer

指定包含必须镜像的PerformancePoint Services数据库的数据库服务器的名称。

SharePoint Server 中引入了此参数,其中包含 Service Pack 1 (SP1) 和 SharePoint Foundation 2010,其中 Service Pack 1 (SP1) 。

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-DatabaseName

指定在预配服务应用程序时将创建的PerformancePoint Services数据库的名称。

SharePoint Server 中引入了此参数,其中包含 Service Pack 1 (SP1) 和 SharePoint Foundation 2010,其中 Service Pack 1 (SP1) 。

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-DatabaseServer

指定要在其中创建PerformancePoint Services数据库的数据库服务器的名称。 该名称应该与用于 SharePoint 内容和配置数据库的服务器名称相同。

如果该值不引用默认实例,则可以写作 SQL instance\server。

在 SharePoint Server 中引入了此参数,其中包含 Service Pack 1 (SP1) 和 SharePoint Foundation,其中包含 Service Pack 1 (SP1) 。

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-DatabaseSQLAuthenticationCredential

确定连接到PerformancePoint Services数据库时是使用Windows 身份验证还是SQL Server身份验证。

在 SharePoint Server 中引入了此参数,其中包含 Service Pack 1 (SP1) 和 SharePoint Foundation,其中包含 Service Pack 1 (SP1) 。

Type:PSCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-DatabaseUseWindowsAuthentication

如果将此值设置为 true,则 Performance Point Services 禁用对所有数据源使用 SQL 身份验证。

键入的值必须是以下项之一:$True、$False。 默认值为 $False。

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-DataSourceQueryTimeoutSeconds

指定数据源查询超时之前的时间(秒)。默认值为 300。

键入的值必须是介于 1 至 36,000 的整数值。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-DataSourceUnattendedServiceAccountTargetApplication

访问数据源默认使用的安全存储应用程序的名称。

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-DecompositionTreeMaximum

指定返回到分解树可视化的最多项目数(每级别)。

有效整数值范围为 1 至 1,000,000。 默认值为 25。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ElementCacheSeconds

指定第一个类对象缓存到期时间。 默认值为 15。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-FilterRememberUserSelectionsDays

指定记住用户筛选器选择的天数。 默认值为 90。

键入的值必须是介于 1 至 10,000 的整数值。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-FilterSearchResultsMax

查看筛选器时在仪表板上返回的最大项目数。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-FilterTreeMembersMax

在筛选器树视图控件中显示的最多记录数。 默认值为 500。

整数值范围为 1 至 100,000

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Identity

指定要更新的 PerformancePoint Service 应用程序。

键入的值必须是 12345678-90ab-cdef-1234-567890bcdefgh 形式的有效 GUID;PerformancePoint Service 应用程序的有效名称(如 PerfPointApp1);或有效 SPPerformancePointMonitoringServiceApplication 对象的实例。

Type:SPPerformancePointMonitoringServiceApplicationPipeBind
Position:1
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-IndicatorImageCacheSeconds

指定缓存关键绩效指标 (KPI) 图标的时间(秒)。 默认值为 10。

键入的值必须是介于 1 至 3600 的整数值。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-MSMQEnabled

指定在内容发生更改时向 Microsoft 消息队列 (MSMQ) 发送通知。

键入的值必须是以下项之一:True、False。 默认值为 False。

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-MSMQName

指定队列名称。 队列名称最多可以包含 380 个字符,不能包含以下字符:CR (ASCII 13) 、LF (ASCII 10) 、反斜杠 (\) 以及符号 (+) 、逗号 (、) 或引号 (“) 。

键入的值必须是有效的 MSMQ 名称,如 MessageQueue1。

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-SelectMeasureMaximum

指定要在仪表板选择度量值的控件中显示的最多度量值数。 默认值为 1000。

键入的值必须是介于 1 至 1,000,000 的整数值。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-SessionHistoryHours

指定清除已过期的用户导航历史之间的小时数。 默认值为 2。

键入的值必须是介于 1 至 48 的整数值。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-SettingsDatabase

指定用于该服务应用程序的 PerformancePoint Service 数据库的名称。

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ShowDetailsInitialRows

指定为显示详细信息而检索的初始行数。 默认值为 1000。

键入的值必须是介于 1 至 100,000 的整数值。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ShowDetailsMaxRows

指定为显示详细信息而检索的最大行数。

键入的值必须是介于 1 至 1,000,000 的整数值。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ShowDetailsMaxRowsDisabled

关闭 ShowDetailsInitialRows 设置。 如果设置为 true,Analysis Services 将控制限制。

键入的值必须是以下项之一:True、False。 默认值为 False。

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-TrustedContentLocationsRestricted

指定仅信任指定位置。 默认设置为 false(信任所有内容位置)。

键入的值必须是以下项之一:True、False。 默认值为 False。

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-TrustedDataSourceLocationsRestricted

指定仅信任指定的数据源位置。 默认值是信任所有数据源位置。

键入的值必须是以下项之一:True、False。 默认值为 False。

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-UseEffectiveUserName

启用 Analysis Services 有效用户名功能。

键入的值必须是以下项之一:True、False。 默认值为 False。

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-WhatIf

显示一条描述命令作用的消息,而不执行命令。 有关详细信息,请键入以下命令:get-help about_commonparameters

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-工作分配

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

Type:SPAssignmentCollection
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019