title: Get-ChildItem to Move-Item - path not found
body: <p>I try to move my old logfiles to a yyyy\MM\dd folder structure by</p>
  
  <pre><code>Get-ChildItem . -Recurse -Include *.log | 
  Move-Item -Dest {"D:\Archive\{0:yyyy\\MM\\dd}\{1}" -f $_.LastWriteTime, $_.Name} -Force
  </code></pre>
  
  <p>but i get a path-not-found error.</p>
  
  <p><strong>update</strong></p>
  
  <p>The source path does not seem to be the problem. It looks like using <code>-Force</code> on <code>Move-Item</code> does not create missing destination directories.</p>
  
  <hr>
  
  <p><strong>sub question</strong>: Could the same be done without Get-ChildItem?</p>