Set-SPPerformancePointServiceApplication
設定 PerformancePoint Services 應用程式的全域執行階段屬性。
Syntax
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>]
Description
此 Set-SPPerformancePointServiceApplication
cmdlet 會更新 PerformancePoint Services 應用程式的全域執行階段屬性。
使用此 cmdlet 所進行的屬性變更,會影響執行有指定 PerformancePoint Service 應用程式執行個體之伺服器陣列中的所有伺服器。
如需 SharePoint 產品和技術的 Windows PowerShell 權限及最新資訊,請參閱線上文件 SharePoint 伺服器 Cmdlets。
範例
----------------範例----------------------
$sa = Get-SPPerformancePointServiceApplication
Set-SPPerformancePointServiceApplication -Identity $sa -DataSourceQueryTimeoutSeconds 5000
此範例會將 [資料來源查詢逾時] 設定設為 5000。 此 cmdlet 等同於 SharePoint 管理中心網站的 [PerformancePoint Service 設定] 頁面。
參數
-AnalyticQueryCellMax
指定分析網格中所能傳回的儲存格數上限。
有效的整數介於 1 至 1,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: | SharePoint Server 2010, SharePoint 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: | False |
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。 預設值為 $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 2010 中導入。
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 2010 中導入。
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 |
-DatabaseUseWindowsAuthentication
當此值設為 True,Performance Point Services 會停止對所有資料來源使用 SQL 驗證。
此類型必須是下列其中之一:$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 |
-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 2013, 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
檢視篩選器時,傳回儀表板的項目數目上限。
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Required: | False |
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 |
Required: | True |
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 |
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 |
-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 |
-SettingsDatabase
指定服務應用程式所使用之 PerformancePoint Service 資料庫的名稱。
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 |
-ShowDetailsInitialRows
指定初次顯示詳細資料時所能擷取的列數上限。 預設值為 1000。
此類型必須是 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 之間的整數值。
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
指定只信任指定的資料來源位置。 預設值為信任所有的資料來源位置。
此類型必須是下列其中之一: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 2013, 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 |