Exchange Server
IMPORT AD USERS TO EXCHANGE SERVER
Use this command to import all AD Users:
Import-module activedirectory
Get-User -RecipientTypeDetails User -Filter { UserPrincipalName -ne $Null } | Enable-Mailbox

Exchange Server
IMPORT AD USERS TO EXCHANGE SERVER
Use this command to import all AD Users:
Import-module activedirectory
Get-User -RecipientTypeDetails User -Filter { UserPrincipalName -ne $Null } | Enable-Mailbox
