Hi,
I needed a script where I can move some files from multiple folders to a single folder. Only problem is as of now I can’t sure the folder name from which the files need to be copied. The problem is that the Customers every time is different. Also Folder A is different. Only Folder B is the same.
So I tried it into PowerShell and i came to
Copy-Item -Path C:\customer -Recurse -filter *.xls -Destination e:\folderB -Force
only with this I am able filter to files but all the folders all copied. And I only want the files in it.
Thanks