Solved

Powershell Script for Office 365

Posted on 2016-08-25
2
60 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
2 Comments
 
LVL 37

Accepted Solution

by:
Jian An Lim earned 500 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
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…

726 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