This module provides wide functionality to delete SQL backups from disk, ftp or cloud storage. Allows you to organize custom backup retention policies. Implemented functionality to block deletion of .bak files if .diff or .trn depend on them
Run powershell command Install-Module -Name DbBackupControl
After installation, you can use the help. Run the command Get-Help Remove-Dbbackup -Full