The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
This screenshot is not visible.
So, I provide a script which could work in my lab:
CSV file:
Script:
$users = Import-CSV c:\temp\users.csv
$PassWord = ConvertTo-SecureString -String "Password123" -AsPlainText -Force
ForEach($user in $users){
New-Mailbox -Alias $user.alias -Name $user.name -userPrincipalName $user.UPN -Database "DB16" -OrganizationalUnit Users -Password $Password -ResetPasswordOnNextLogon $true
}
Run this script(.PS1 file) in EMS:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.