I am looking to use powershell to do following:
Use filename (excluding extension) from one folder (Folder1), search that filename exists in other folders(Folder2, Folder3) If file exists in Folder2 or Folder3, delete file from Folder1. If file doesnt exist in either 2 or 3, move file from Folder1 to Folder4
I made a start on this using Get-ChildItem to succesfully extract the basename, then got in a muddle trying use that information so i am basically starting from beginning if anyone can help.