title: workflow definition cache limit of 1000 has been reached
body: <p>PowerShell Related: When attempting to run a script which has a few workflow functions and has worked just fine in the past; all of a sudden it is throwing the following error: </p>
  
  <p>"The workflow '' could not be started: The workflow definition has been recycled, because the workflow definition cache limit of 1000 has been reached. Import the workflow or module again, and then 
  retry the operation." </p>
  
  <p>I haven't found a single thing via Google or Bing on how to handle/clear this cache. I assume its possibly within the .NET Windows Workflow foundation space which is called when PowerShell invokes a workflow. I just can't dig up the information. I'm having to manually step through the script and recall the functions prior to the step they run at in order to keep things working. </p>
  
  <p>How can this cache be cleared or managed?</p>