Powershell Move all files from folders and subfolders into single folder

Here's the PowerShell script to Move all files from folders and subfolders into a single folder

Get-ChildItem -Path source -Recurse -File | Move-Item -Destination dest

Change "Source" and "dest"

Comments