I created a WIP SendGrid module that supports most features you’d need such as attachments, sending with templates, sending a normal email, etc. I’ll need to look into if I can publish it with the DLL file. It does require at least PowerShell 7
great video, thank you Travis! can you just give me an idea on how i can send an output of a powershell query say for example a simple powershell like get the total number of windows devices where os is windows and version is xxxxx. i know how to get the count and all that but how do you pass that to the body of the email ? greatly appreciate it.
Is there a solution for legacy apps that run on Azure IaaS that need to send emails on port 25? I gather Send Grid still wouldnt work as port 25 is blocked on Azure outside of Enterprise Agreements...
Answering my own question--it must have something to do with my permissions in VSCODE. I put the same test code into a runbook in Azure (logged in as the same username I used to sign up) and it worked. Thanks again for the video.