0

I am searching for the best way to check around 10.000 .zip files which are not all in the same folder. I need to check if there is a text (.txt) file inside, and if yes, than delete the .zip file. I can build the whole script if I have the best way to fastly check the inside of the zip.

I found different ways to check, I am using Powershell 3.0 and I don't use any community extension.

best way i foud iGet the inside of the zip

any help is upvoted immedeatly!

RayofCommand
  • 4,054
  • 17
  • 56
  • 92

1 Answers1

1

You can find most of what you need here:

Powershell to search for files based on words / phrase but also Zip files and within zip files

Requires .Net 4.5

Community
  • 1
  • 1
Raf
  • 9,681
  • 1
  • 29
  • 41