Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 548 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 548 Bytes

Remover.ps1

By: Arjan Sturing

PowerShell script for removing files in folder and if chosen subfolders based on pattern Use this script at your own risk!

Usage is as follows:

  • Start script
  • Choose directory
  • Enter pattern by example: - Copy for files with - Copy in filename or *.txt for al .txt files
  • Choose the amount of days for the maximum age of the files
  • Choose if you want to delete files in subfolders
  • Check the list of found files
  • Choose if you want to delete the files mentioned on the list

Automate the World #PowerShell