Use PowerShell to Send email from O365 Account

Prior to PowerShell 5.0 to send an email you had to use the .NET System.Net.Mail namespace. Now with PowerShell 5.0 and higher you can easily send email messages using the cmdlet Send-MailMessage. . You can use any valid SMTP server but for our example we’ll use an O365 account. Just make sure you set your…


Upload and Download Files using a SAS Token

A SAS token can be used to grant temporary access to your storage without exposing your storage key. By leveraging a SAS token we can grant objects temporary access to our container with the defined permissions and a defined time. If you’re unfamiliar or want the details of how a SAS token works then head…