New-SPPerformancePointServiceApplication

为 PerformancePoint Service 新建一个服务应用程序。

语法

New-SPPerformancePointServiceApplication
   [-Name] <String>
   -ApplicationPool <SPIisWebServiceApplicationPoolPipeBind>
   [-AnalyticQueryCellMax <Int32>]
   [-AnalyticQueryLoggingEnabled <Boolean>]
   [-ApplicationCacheEnabled <Boolean>]
   [-ApplicationCacheMinimumHitCount <Int32>]
   [-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>]
   [-ShowDetailsInitialRows <Int32>]
   [-ShowDetailsMaxRows <Int32>]
   [-ShowDetailsMaxRowsDisabled <Boolean>]
   [-TrustedContentLocationsRestricted <Boolean>]
   [-TrustedDataSourceLocationsRestricted <Boolean>]
   [-WhatIf]
   [-AnalyticResultCacheMinimumHitCount <Int32>]
   [-DataSourceUnattendedServiceAccountTargetApplication <String>]
   [-FilterSearchResultsMax <Int32>]
   [-UseEffectiveUserName <Boolean>]
   [<CommonParameters>]

说明

该 cmdlet 在 New-SPPerformancePointServiceApplication 服务器场上创建新的 PerformancePoint 服务。

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

示例

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

New-SPPerformancePointServiceApplication -Name PPS_Application_01 -ApplicationPool PPS_Application_Pool_01

此示例将创建一个新的名为 PPSApp_01 的 PerformancePoint Service 应用程序,并将它设置为在名为 PPS_Application_Pool_01 的应用程序池中运行。

参数

-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:harePoint 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。

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,其中包含 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,其中包含 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

-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 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

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

默认值是 5000。

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to: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

-IndicatorImageCacheSeconds

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

键入的值必须是介于 1 至 3,600 之间的整数值。

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

-ShowDetailsInitialRows

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

键入的值必须是介于 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 之间的整数值。 默认值为 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

-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

指定仅信任指定位置。 默认设置为 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

-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 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

-名称

指定该新的 PerformancePoint Service 应用程序的名称。

键入的值必须是 PerformancePoint Service 应用程序的有效名称,如 PerfPointApp1。

Type:String
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

-工作分配

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