[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 152
  • Last Modified:

Powershell Office 365 script

Hi, hopefully a quick response to this and it would be appreciated.

Does anyone have a powershell script for check all users and writing to CSV format for last email sent in Office365. We have an issue where users are still using there partner email account and not the cloud based solution we have provided. I have used the last user logon but this seems very inaccurate.

Many Thanks in Advance

John
0
John Davies
Asked:
John Davies
  • 2
1 Solution
 
Vasil Michev (MVP)Commented:
You mean the last activity performed by the user? Or the address used?

There's no easy and accurate way to get this info, but you can simply check the (new) admin portal reports. Other than that, you can get a message trace based report such as the one here: https://gallery.technet.microsoft.com/office/Office-365-Mail-Traffic-afa37da1
0
 
John DaviesAuthor Commented:
Thats the one I am using Vasil, found Microsofts stats to be way out. What i was looking at was not the address of the last email but the last time they sent an email from their account that way I can see who is using it.

As I said the link you posted is one I found also and worked brilliantly one I had removed duplication's.

Thanks Vasil
0
 
John DaviesAuthor Commented:
Perfect link, worked a treat. Thanks for the input
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now