?
Solved

Powershell Script for Office 365

Posted on 2016-08-25
2
Medium Priority
?
68 Views
Last Modified: 2016-08-26
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
0
Comment
Question by:John Davies
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 37

Accepted Solution

by:
Jian An Lim earned 2000 total points
ID: 41771499
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
https://portal.office.com/AdminPortal/Home?switchtomoderndefault=true#/reportsUsage/EmailActivity

for sharepoint, there are no GUI but you can use this script
https://gallery.technet.microsoft.com/Export-Office-365-User-d0a3122d


for licence consumption, you can go to
https://portal.office.com/Admin/Default.aspx?switchtoclassic=true#AllReportsRootV2
and click on  "Licensing vs Active Usage"
1
 

Author Closing Comment

by:John Davies
ID: 41771502
Thank you Jian, perfect
0

Featured Post

Ransomware Attacks Keeping You Up at Night?

Will your organization be ransomware's next victim?  The good news is that these attacks are predicable and therefore preventable. Learn more about how you can  stop a ransomware attacks before encryption takes place with our Ransomware Prevention Kit!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
A brief introduction to what I consider to be the best editor for PowerShell.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question