Solved

Powershell Script for Office 365

Posted on 2016-08-25
2
55 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 36

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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

This script checks a path to see if a folder exists. If the folder does exist you will get output "The folder has previously been created. No action taken" If not it will create the folder. Then adds one user modify permission to the folder. It …
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 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