ModernMailTools Module
PowerShell Gallery: ModernMailTools
Description
Send emails in PowerShell via Graph API, or SMTP (MailKit) with Modern Auth (OAuth) support.
ModernMailTools Cmdlets
Enable-MailMessageAlias
Enables Send-MailMessage command alias in the current PowerShell session.
Get-ModernDomainScanReport
Retrieves and optionally displays a domain security scan report from Global Cyber Alliance.
Invoke-ModernMailHybridReport
Generates a Exchange Hybrid report for Microsoft 365 (ModernMail Hybrid Report, Exchange Hybrid Report, Microsoft365 Hybrid Report).
Register-ModernMailMessageEntraIDApp
Registers an app in Entra ID, assigning necessary permissions and outputting relevant information.
Send-ModernMailMessage
The Send-ModernMailMessage cmdlet sends an email message from within PowerShell.