For Windows PowerShell scripts that you can download and run to convert on-premises mailboxes to mail-enabled users, see ...