title: Recycle several application pools in bat file
body: <p>I'm trying to recycle several of my application pool using commands in a bat file but it doesn't work.</p>
  
  <p>This is my file :</p>
  
  <pre><code>%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:AppPool1
  %windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:AppPool2
  %windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:AppPool3
  %windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:AppPool4
  </code></pre>
  
  <p>This is the response in cmd : </p>
  
  <pre><code>Failed to process input: The parameter 'recycle' must begin with a / or - (HRESULT=80070057).
  </code></pre>
  
  <p>I've tried to had the command start at the beginning of each line but it doesn't work either.</p>
  
  <p>Thanks for your help.</p>