Modify the Recycle Threshold

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

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

The RecycleProcessThreshold parameter enables you to specify the number of documents each translation 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 20.11 shows a sample threshold modification.

Listing 20.11. Changing the Recycle Threshold

Set-SPTranslationServiceApplication-Identity "Machine Translation 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.