Hi Rahul, let's say i just want to move any file containing the the search word, say autobot, to a new folder. Please, how would i do that? Copy the file and paste in a new folder that is...
Hello Chudi, You can use the Move-item command to move the files. Move-Item -Path “filepath” -Destination “destination folder” You need to use this inside the loop.
my requirement is within same file to find particular keyword it will get output.how to do powershell script.for example i have aa.txt file kept in my local drive.in that .aa.txt i want to find keyword "windows"
@@autobotbyrahul in 1 folder i have some sub folders and files another folder also same.now the thing is i need find the unmatched files or matched files in both dires