Set-SPPowerPointConversionServiceApplication
設定 PowerPoint 轉換服務應用程式的設定。
Syntax
Set-SPPowerPointConversionServiceApplication
[-Identity] <SPPowerPointConversionServiceApplicationPipeBind>
[-AssignmentCollection <SPAssignmentCollection>]
[-CacheExpirationPeriodInSeconds <UInt32>]
[-MaximumConversionsPerWorker <UInt32>]
[-WorkerKeepAliveTimeoutInSeconds <UInt32>]
[-WorkerProcessCount <UInt32>]
[-WorkerTimeoutInSeconds <UInt32>]
[<CommonParameters>]
Description
使用 Cmdlet Set-SPPowerPointConversionServiceApplication
來設定伺服器陣列中 PowerPoint 轉換服務應用程式實例的屬性和設定。
範例
--------------------範例 1---------------------
Set-SPPowerPointConversionServiceApplication -Identity "MyWorkgroupPPTApp" -CacheExpirationPeriodInSeconds 1200
此範例會為轉換快取到期時間建立新的操作預設值。
--------------------範例 2---------------------
Set-SPPowerPointConversionServiceApplication -Identity "MyWorkgroupPPTApp" -DisableBinaryScan:$false
此範例會停用對二進位文件的掃描。
參數
-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 2013, SharePoint Server 2016, SharePoint Server 2019 |
-CacheExpirationPeriodInSeconds
指定項目保留在後端伺服器快取中的時間上限 (以秒為單位)。 預設值為 600 秒 (10 分鐘)。
Type: | UInt32 |
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 |
-Identity
指定此 PowerPoint Conversion Service 應用程式的唯一名稱。
Type: | SPPowerPointConversionServiceApplicationPipeBind |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019 |
-MaximumConversionsPerWorker
指定在回收之前,轉換工作者處理序可以轉換的簡報數上限。 預設值為 5。
Type: | UInt32 |
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 |
-WorkerKeepAliveTimeoutInSeconds
指定轉換工作者處理序在經過多久時間未回應時即予終止 (以秒為單位)。 預設值為 120 秒。
Type: | UInt32 |
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 |
-WorkerProcessCount
指定每個後端上轉換工作者處理序的使用中執行個體數量。 此值必須小於此電腦的 Windows Communication Foundation (WCF) 連線限制。 預設值為 3。
Type: | UInt32 |
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 |
-WorkerTimeoutInSeconds
指定將轉換工作者處理序給予任何單一轉換的時間上限 (以秒為單位)。 預設值為 300 秒 (5 分鐘)。
Type: | UInt32 |
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 |