Tag Archives: PowerShell to backup SQL Databases

PowerShell – Backup Individual database and delete all it’s respective files by keeping a recent file

Problem Statement The requirement is to backup individual database and after successful backup the script should retain the most recent file and delete the rest from a directory for that specific database. The below Powershell script is used to backup a … Continue reading

Posted in PowerShell, SQL | Tagged , , | 4 Comments