I have this piece of powershell code which sends out an email when executed in a SQL job or run in powershell mode but does not work in this below situation.
Attached is a screenshot of the Recovery tab under SQLAgent services.
I have run this command i
↧