New-SPPerformancePointServiceApplication
建立 PerformancePoint 服務的新服務應用程式。
Syntax
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>]
Description
此 New-SPPerformancePointServiceApplication
Cmdlet 會在伺服器陣列上建立新的 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,000 的有效整數值。 預設值為 100,000。
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | True |
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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019 |
-AssignmentCollection
管理物件以適當處置它們。 使用 SPWeb 或 SPSite 等物件可能會耗用大量的記憶體,因此在 Windows PowerShell 指令碼中使用這些物件時,必須適當地管理記憶體。 您可以使用 SPAssignment 物件將物件指派給變數,並在不需要時處置這些物件,以釋放記憶體。 使用 SPWeb、SPSite 或 SPSiteAdministration 物件時,若未使用指派集合或 Global 參數,將會自動處置這些物件。
使用 Global 參數時,所有物件會包含在全域儲存區內。
如果不立即使用物件,或使用 Stop-SPAssignment
命令加以捨棄,則可能會有記憶體不足的狀況發生。
Type: | SPAssignmentCollection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019 |
-DatabaseFailoverServer
指定資料庫伺服器的名稱,該伺服器上包含了必須進行鏡像的 PerformancePoint Serves 資料庫。
此參數在具有 Service Pack 1 (SP1) 的 SharePoint Server 和具有 Service Pack 1 (SP1) 的 SharePoint Foundation 中導入。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
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 資料庫名稱。
此參數在具有 Service Pack 1 (SP1) 的 SharePoint Server 和具有 Service Pack 1 (SP1) 的 SharePoint Foundation 中導入。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
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 執行個體\伺服器。
此參數在具有 Service Pack 1 (SP1) 的 SharePoint Server 和具有 Service Pack 1 (SP1) 的 SharePoint Foundation 中導入。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
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 驗證。
此參數在具有 Service Pack 1 (SP1) 的 SharePoint Server 和具有 Service Pack 1 (SP1) 的 SharePoint Foundation 中導入。
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019 |
-DataSourceUnattendedServiceAccountTargetApplication
預設將用來存取資料來源的 Secure Store 應用程式的名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019 |
-MSMQEnabled
指定內容有所變更時,要傳送給 Microsoft Message Queuing (MSMQ) 的通知。
此類型必須是下列其中一項:true 或 false。 預設值為 False。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019 |
-Name
指定新 PerformancePoint Service 應用程式的名稱。
此類型必須是 PerformancePoint Service 應用程式的有效名稱;例如,PerfPointApp1。
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019 |
-UseEffectiveUserName
可以啟用「分析服務的有效使用者名稱」功能。
此類型必須是下列其中一項:True 或 False。 預設值為 False。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019 |