Skip to content
Geeks Hangout
  • Home
  • Fixes
  • Tips
  • Scripts
  • Tools
  • About

Office365

PowerShell – Sending an Email via Office 365

August 30, 2021December 12, 2020 by Phil

The following is an example of how to send an email using PowerShell via O365. If you need to send via Gmail or another provider, it should just be a case of swapping out the SMTP settings. The email account …

Read more

Leave a comment

Changing all AD users email addresses – Powershell

December 27, 2020July 24, 2019 by Phil

Recently I had the need to change all users email addresses in an Active Directory domain from one domain name to another. The below PowerShell is how I did it. The customer was using Office 365 with AD Connect. So …

Read more

1 Comment

Office365 – PowerShell to export a message flow trace with Get-MessageTrace

June 30, 2019April 7, 2016 by Phil

The following PowerShell snippet can be used to to export the results of a message trace, unfortunately at the time of writing the Office365 portal does not allow you to do this in the GUI. Connecting to Office365 via Powershell …

Read more

Leave a comment

Recent Posts

  • Setup a Laravel Valet Development Environment on MacOS
  • Git failed with a fatal error “Authentication failed”
  • Microsoft SQL – Saving changes is not permitted (SSMS Design Mode)
  • SPF, DKIM and DMARC Confused?

Recent Comments

  • Phil on Dyson PM2.5 999 Always Severe [FIXED]
  • Phil on ePSXe Not Working
  • Jude on Dyson PM2.5 999 Always Severe [FIXED]
  • troy on ePSXe Not Working
© 2023 Geeks Hangout
Hosted by: Cloudways | Ads by: Ezoic | Theme: Generate Press
🛠 The Tools I Use 🛠
Ezoic Awards