Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Powershell Script for Office 365

Posted on 2016-08-25
2
Medium Priority
?
77 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

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 article will help you understand what HashTables are and how to use them in PowerShell.
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

618 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