Set-SPPowerPointServiceApplication
適用版本: SharePoint Server 2010
上次修改主題的時間: 2015-03-09
設定 PowerPoint Service 應用程式的全域設定。
Syntax
Set-SPPowerPointServiceApplication [-Identity] <SPPowerPointServiceApplicationPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-BroadcastStateIdleTimeoutInSeconds <UInt32>] [-BroadcastStateSessionTimeoutInSeconds <UInt32>] [-DisableBinaryScan <$true | $false>] [-EditingWorkerProcessCount <UInt32>] [-EditingWorkerTimeoutInSeconds <UInt32>] [-EnableSandboxedEditing <$true | $false>] [-EnableSandboxedViewing <$true | $false>] [-EnableViewing97To2003Formats <$true | $false>] [-EnableViewingOpenXmlFormats <$true | $false>] [-ViewingCacheExpirationPeriodInSeconds <UInt32>] [-ViewingMaximumConversionsPerWorker <UInt32>] [-ViewingWorkerKeepAliveTimeoutInSeconds <UInt32>] [-ViewingWorkerProcessCount <UInt32>] [-ViewingWorkerTimeoutInSeconds <UInt32>]
詳細說明
Set-SPPowerPointServiceApplication cmdlet 可設定伺服器陣列中之 PowerPoint Service 應用程式執行個體的全域屬性與設定。
如需 Windows PowerShell for Office Web Apps 的權限及最新資訊,請參閱 TechNet (https://go.microsoft.com/fwlink/?LinkId=164432)。
Parameters
參數 | 必要 | 類型 | 描述 |
---|---|---|---|
Identity |
必要 |
Microsoft.Office.Server.Powerpoint.SharePoint.PowerShell.SPPowerPointServiceApplicationPipeBind |
指定此 PowerPoint Service 應用程式的唯一名稱。 |
AssignmentCollection |
選用 |
Microsoft.SharePoint.PowerShell.SPAssignmentCollection |
為能適當處置物件而管理物件。使用 SPWeb 或 SPSite 等物件可能會耗用大量的記憶體,因此在 Windows PowerShell 指令碼中使用這些物件時,必須適當地管理記憶體。您可以使用 SPAssignment 物件將物件指派給變數,並在不需要時處置這些物件,以釋放記憶體。使用 SPWeb、SPSite 或 SPSiteAdministration 物件時,若未使用指派集合或 Global 參數,將會自動處置這些物件。 注意 使用 Global 參數時,所有物件會包含在全域儲存區內。若未立即使用物件,或未使用 Stop-SPAssignment 命令處置物件,將會發生記憶體不足的狀況。 |
BroadcastStateIdleTimeoutInSeconds |
選用 |
System.UInt32 |
指定廣播連線自動中斷連線之前,可以維持在閒置狀態的總時間上限 (以秒為單位)。預設值為 5400 秒 (90 分鐘)。 |
BroadcastStateSessionTimeoutInSeconds |
選用 |
System.UInt32 |
指定廣播工作階段自動中斷連線之前,可以維持在使用中狀態的總時間上限 (以秒為單位)。此參數值必須與 BroadcastSessionTimeoutInSeconds 的值相同。預設值為 43200 秒 (12 小時)。 |
DisableBinaryScan |
選用 |
System.Boolean |
指定是否要在開啟 Microsoft PowerPoint 檔案之前,先使用 GateKeeper - Validator 功能掃描二進位檔案。預設值為 $True。 |
EditingWorkerProcessCount |
選用 |
System.UInt32 |
指定使用中之具名應用程式執行個體的數量。此值必須小於此電腦的 Windows Communication Foundation (WCF) 連線限制。預設值為 100。 |
EditingWorkerTimeoutInSeconds |
選用 |
System.UInt32 |
指定將編輯服務供給傳送至編輯服務之要求的逾時時間 (以秒為單位)。預設值為 60 秒。 |
EnableSandboxedEditing |
選用 |
System.Boolean |
指定 Microsoft PowerPoint Web App 的編輯程式碼是否應在沙箱 (sandbox) (低權限模式) 環境下執行。預設值為 $True。 |
EnableSandboxedViewing |
選用 |
System.Boolean |
指定 Microsoft PowerPoint Web App 的檢視程式碼是否應在沙箱 (sandbox) (低權限模式) 環境下執行。預設值為 $True。 |
EnableViewing97To2003Formats |
選用 |
System.Boolean |
指定 Microsoft PowerPoint Web App 是否可以開啟 Office PowerPoint 1997 至 2003 等版本所製作的簡報 (*.ppt) 檔案。若停用此參數,PowerPoint Web App 將無法檢視該檔案類型。預設值為 $True。 |
EnableViewingOpenXmlFormats |
選用 |
System.Boolean |
指定 Microsoft PowerPoint Web App 是否可以在 PowerPoint 中開啟 Office Open XML 檔案 (*.pptx)。若停用此參數,PowerPoint Web App 將無法檢視該檔案類型。預設值為 $True。 |
ViewingCacheExpirationPeriodInSeconds |
選用 |
System.UInt32 |
指定項目在後端伺服器快取中的保留時間上限 (以秒為單位)。預設值為 600 秒 (10 分鐘)。 |
ViewingMaximumConversionsPerWorker |
選用 |
System.UInt32 |
指定給定工作流程處理序回收之前所能轉換的工作數量。預設值為 5。 |
ViewingWorkerKeepAliveTimeoutInSeconds |
選用 |
System.UInt32 |
指定檢視後端時,開始與結束處理序間之保持運作訊號間隔的逾時時間 (以秒為單位)。預設值為 120 秒。 |
ViewingWorkerProcessCount |
選用 |
System.UInt32 |
指定使用中之具名應用程式執行個體的數量。此值必須小於此電腦的 Windows Communication Foundation (WCF) 連線限制。預設值為 3。 |
ViewingWorkerTimeoutInSeconds |
選用 |
System.UInt32 |
指定將檢視服務供給應用程式管理員所傳送之工作的逾時時間 (以秒為單位)。預設值為 300 秒 (5 分鐘)。 |
輸入類型
傳回類型
Example
---------------------範例 1-------------------
Set-SPPowerPointServiceApplication -Identity "MyWorkgroupPPTApp" -ViewingCacheExpirationPeriodInSeconds 1200
此範例會建立新的檢視快取到期時間。
---------------------範例 2-------------------
Set-SPPowerPointServiceApplication -Identity "MyWorkgroupPPTApp" -DisableBinaryScan:$false
此範例會停用對二進位文件的掃描。