Check if files listed in a text file exist RRS feed

  • General discussion

  • Hi,

    I have a text file with a list of file names (including path) each on a seperate line.

    Does anyone have an existing script (or know how) to test whether each file in that list exists on the local computer, then export whether it exists or not? 

    Im guessing its going to use something like test-path but Im a complete newbie to powershell.

    Many thanks,

    Sunday, September 27, 2015 7:29 PM

All replies