title: Powershell Cannot create a file when that file already exists when using Move-Item
body: <p>I'm trying to move png images in subfolders to a subfolder in the folder they are in.</p>
  <p>Main folder is called &quot;stuff&quot;, images are in variously named subfolders in the &quot;stuff&quot; main folder, and each of these subfolders have a folder name &quot;Oneshot&quot; in them, I'm trying to move these images that are in M:/Stuff/FolderExample/ to M:/Stuff/FolderExample/Oneshot/.
  Current code I am using</p>
  <pre><code>Get-ChildItem -Path C:\Users\a\Desktop\stuff\*.png -Recurse | Move-Item -Destination &quot;$($_.FullName)\Oneshot\&quot;
  </code></pre>
  <p>How can I make this work? I'm just trying to learn powershell so I can automate this process as I otherwise would need to repeat the process manually for thousands of times</p>