Need a way to report mailbox statistics and/or mobile device usage information (plus a few other things) to your various business groups or subsidiaries? Or, perhaps you want to verify that users have been assigned the correct license? Use the following script to generate a little report – or big report if you have several thousands of users. In order for the script to work, you will need to download and install the Microsoft Online Services Module for Windows PowerShell. Keep in mind that the script can take a while to run across the internet against Office 365 if you have several thousands of users.
Read the help information for details on how to execute the script.
Get-help .\GetMsolUserReport.ps1 -full
A copy of the script can be downloaded by clicking on the link below.
– fixed a couple of typo’s resulting from the previous update
– fixed an issue where the script would throw an error about variable optimization when run using PowerShell v3 pre-release.
– fixed an issue where department, company, and manager attribute values were not being saved to the file. Thanks for pointing this out!