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 Eddies

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 Eddies

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 Eddies

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

  • Azure Data Factory – Get and store a Key Vault secret as a variable
  • Microsoft Graph and Invoke-RestMethod [PowerShell]
  • Connect-MgGraph – Using a Service Principal [PowerShell]
  • Updating MalCare Security Plugin fails “This is usually due to inconsistent file permissions”

Recent Comments

  • Phil Eddies on Use VBS to populate and format Excel documents
  • Nitin G. on Use VBS to populate and format Excel documents
  • Nitin G. on Use VBS to populate and format Excel documents
  • Phil Eddies on Drift Life App Not Connecting With Camera
© 2022 Geeks Hangout
Hosted by: Cloudways | Ads by: Ezoic | Theme: Generate Press
🛠 The Tools I Use 🛠
Ezoic Awards