title: How to use PowerShell in a batch file, not script, to rename multiple files in a folder & all subfolders?
body: <p>This batch file *.bat, not script ~ does just that, just for the folder the batch file is in, but how about all the subfolders under it?</p>
  
  <p>This is what I have tried:</p>
  
  <pre><code>powershell -C "gci | ForEach-Object % {rni $_.Name ($_.Name -replace '15June', '01July ')}"
  </code></pre>