I've googled this, and found arguments as to "why would you do that, blah blah blah"
So please don't ask me why; this is just the way I was told to do it until we can get our SQL DB Mail working. Our shellscript is the one sending the e-mails for now. Thank you.
...
Okay, so my trigger needs to execute a PowerShell Script (.PS1) that I wrote. Do I just give it a filepath or something?
EXEC xp_cmdshell 'powershell.exe -file “C:\files\testrun.ps1"'
Any help is appreciated.
-Nothing to see. Move along.