Powershell script to delete SQL server databases matching a filter

I previously shared a SQL server script to bulk delete all SQL server databases which matched a search filter (http://tinyurl.com/oucvxfs), I have recently written a powershell script to perform the same process and to remove the database backup history. Firstly, we will need to specify the parameters required to run the script. Param ([Parameter(Mandatory=$true)][string] $ServerInstance, … More Powershell script to delete SQL server databases matching a filter