I need some help to write a powershell script to :
Monitor Temp folder (and all sub directories) for files that contain certain text string in the file name. File names = "SiteName_Description_Date.*"
Create a folder in the destination directory that match the "SiteName" and move all files that match the criteria into the new folder, eg
c:\Temp\New Folder1 contains flies named Africa_xxx_Aug12.* and Asia_xxx_Aug12.*
Create a new directory on the destination drive (d:\Data) named Africa and move all Africa*.* files to the Africa folder and all the Asia*.* files to the Asia folder.