I am searching for a file in all the folders.
Copyforbuild.bat is available in many places, and I would like to search recursively.
Copyforbuild.bat
$Fil
To add to @user3303020 answer and output the search results into a file, you can run
Get-ChildItem V:\MyFolder -name -recurse *.CopyForbuild.bat > path_to_results_filename.txt
It may be easier to search for the correct file that way.