If, for some reason, you want to see which domains in your exchange organisation are not being used (not registered in the ProxyAddresses fields of your users), use below snippet in the Exchange Powershell Module.
Note: this does NOT (yet) check for domains used in Public Folders or Mail Contacts.
Recently I wrote a small (login) script to automatically configure the Next Generation Onedrive for Business client with the proper tenant and no user interaction (except for a one-time login). This reduces user impact when migrating to Onedrive for Business.
This is the first post in a series about moving to Onedrive for Business and/or Sharepoint Online from traditional fileshares and/or homedirectories, in bulk, without user interaction.
This script is an addition to O365Datacleaner and will allow you to run the original script over many target locations simultaneously, using a CSV file as input.
This is the simplest and most reliable method currently available to make, for example, all the data on your fileservers spread out over homedirectories completely compliant with Onedrive for Business or Sharepoint Online’s requirements.
The first public version of the O365Datacleaner has been released.
This script can make any given path to a folder/fileshare fully compliant with Onedrive for Business or Sharepoint Online standards, without user interaction. Including path depth resolution and intelligent renaming or moving of files and folders.
A bulk version of this tool is available for free upon request and will also be posted later.