• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 95
  • Last Modified:

Powershell Script for Office 365

I am looking for a script that will create a report for all users that have the following criteria

Last Email logon
Last Sharepoint Login
Licenses Used

Also does anyone know of a script that will create a report from the input form the admin? For example I run a script and it asks what I require and from a list I choose the required information. Quite happy to pay for that if there is one our there on another site, just need pointing to it.

Thanks in Advance

John Davies
John Davies
1 Solution
Jian An LimSolutions ArchitectCommented:
I love to get paid for that but you will hate that :)

anyway,  this report give you last email logon (last activity date) and additional information

for sharepoint, there are no GUI but you can use this script

for licence consumption, you can go to
and click on  "Licensing vs Active Usage"
John DaviesAuthor Commented:
Thank you Jian, perfect
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

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