Cleanup GetFiles Folders

Deletes old files in GetFiles folders


This Agent Procedure will prompt you for the amount of days worth of data you would like to keep. It will create and run a powershell script to scan all the folders inside C:\Kaseya\UserProfiles\\GetFiles for files older than the set amount and will delete them. It then deletes the powershell scripts once done.
PS: The script is hard coded to run int the C:\ Drive. If you installed the VSA on a different drive, make sure to change it in the path on line 3

  • Name: Douglas Sanchez
  • Company: Kaseya
  • Website:
  • Contact Developer
  • Summary
  • Cleanup GetFiles Folders
  • Initially Released March 8th, 2017
  • Reviews

    Cleanup GetFiles Folders has no reviews.

    Gravatar for Ronny De Kesel
    Ronny De Kesel about 4 years ago

    the powershell script is missing in the zip file

    Gravatar for Douglas Sanchez
    Douglas Sanchez about 4 years ago

    The agent procedure itself creates the script, runs it then deletes it.

    Gravatar for John Rutkowski
    John Rutkowski 12 months ago

    Would be more useful if we could give a list of drive letters C,D,F and the File extension *.bak, and then the age so we could cleanup old BAK disk wide.