Modify the Recycle Threshold

Scenario/Problem: You need to modify the recycle threshold of the conversion processes in Word Services.

Solution: Use the RecycleProcessThreshold parameter with the Set-SPWordConversionServiceApplication cmdlet.

The RecycleProcessThreshold parameter enables you to specify the number of documents each conversion process can convert before the process is recycled. The default value is 100 (documents), whereas the valid range of values is 1 to 1000. Listing 25.13 shows a sample threshold modification.

Listing 25.13. Changing the Recycle Threshold

Set-SPWordConversionServiceApplication-Identity "Word Automation Services" -RecycleProcessThreshold 200

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.