By default, SharePoint 2013 runs a daily Workflow Auto Cleanup job to permanently delete workflow instances and related task entries that still exist 60 days after a workflow is completed or cancelled. I have a request to change this setting from 60 to 5 days for testing . Does anyone has a script to change this value or and stsdm cmd .
Best regards,
Alma
I found this article googlingÂ
But i see this is not powershell script , how can i execute this ?