VladDBA / PSBlitz

a PowerShell-based tool that outputs SQL Server health and performance diagnostics data to either Excel or HTML, and saves execution plans and deadlock graphs as .sqlplan and .xdl files.
Other
71 stars 18 forks source link

If script execution is canceled show last error encountered #205

Closed VladDBA closed 3 months ago

VladDBA commented 4 months ago

If PSBlitz is interrupted by Ctrl+c or because of an error, show the last error encountered after the Script execution was interrupted. message.