Behind the PowerShell Pipeline logo

Behind the PowerShell Pipeline

Subscribe
Archives
May 29, 2024

PowerShell Pot Luck May 2024

Here we are again at the end of another month. I hope you learned a few things from the newsletter this month. Don't forget that premium subscribers have access to the full archive of articles, so there's a lot of content to catch up on. If you are a free subscriber, you can upgrade to a premium subscription at any time. Let's dive into this month's pot luck.

Send-MailKitMessage

I have been putting this off forever, but finally bit the bullet and began the process of weaning myself off of Send-MailMessage. If you read the help for the command Microsoft makes it very clear that the command is obsolete and should not be used. But the command still works and I've built tooling around it. I work at home and am not sending anything sensitive through email, so I felt okay using the cmdlet.

Still, I knew I had to make a change. I knew the MailKit library is widely used but it is not a PowerShell module. So I searched the PowerShell Gallery for MailKit-related modules.

Want to read the full issue?
GitHub Bluesky LinkedIn About Jeff
Powered by Buttondown, the easiest way to start and grow your newsletter.