Delete files from specified paths based on age, with email summary reporting.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Delete-FilesByAge -RequiredVersion 1.3.5

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More



Package Details


  • June Castillote


PowerShell Script Delete Housekeeping Logs CleanUp


Stop-TxnLogging Start-TxnLogging Get-ScriptInfo


This script has no dependencies.

Release Notes

1.3.3 (June 16, 2019)
- Added Teams Notification Option
1.3.4 (June 17, 2019)
- Additional fact (Source:) for MS Teams notification
1.3.5 (June 18, 2019)
- Fixed CSS formatting of report
- Fixed MS Teams JSON notification format
- Code cleanup


Version History

Version Downloads Last updated
1.3.7 385 6/17/2019
1.3.6 32 6/17/2019
1.3.5 (current version) 29 6/17/2019
1.3.4 28 6/17/2019
1.3.3 28 6/16/2019
1.3.2 32 6/14/2019
1.3.1 36 5/23/2019
Show more