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 Geeks Hangout

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

Change all AD users email addresses [PowerShell]

June 4, 2023July 24, 2019 by Geeks Hangout

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

3 Comments

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

June 30, 2019April 7, 2016 by Geeks Hangout

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

  • How to retrieve saved MySQL Workbench passwords
  • Testing a Serial COM Port Printer
  • Azure App Services and WordPress with PHP 8.1 / 8.2
  • How to use variables with Microsoft SQL
  • Microsoft Teams – Channel name is already taken [Fixed]
  • Azure Data Factory – How to backup and restore a pipeline
  • Setup a Laravel Valet Development Environment on MacOS

Recent Comments

  • Sandy on System i / AS400 Client Access Copy and Paste with CTRL-C and CTRL-V
  • K.Praveen on WordPress Emails on Azure Configuring SendGrid
  • K.Praveen on WordPress Emails on Azure Configuring SendGrid
  • Bill on FIXED “The requested security information is either unavailable or can’t be displayed”
  • Caio Bauab on Azure Data Factory – Get and Use Key Vault Secrets
  • Aland on Install all RSAT tools via PowerShell
  • Fion on System i / AS400 Client Access Copy and Paste with CTRL-C and CTRL-V
© 2025 Geeks Hangout
Hosted by: Cloudways | Ads by: Ezoic | Theme: Generate Press
🛠 The Tools I Use 🛠
Privacy Policy | Contact Me