AADInternals is PowerShell module for administering Azure AD and Office 365
For details, please visit http://o365blog.com/aadinternals
# Install the module
Install-Module AADInternals
# Import the module
Import-Module AADInternals
Please check o365blog.com - AADInternals on how to use and available commands.