When you are required to create a user mailbox in Microsoft Exchange Server 2016 with PowerShell, this tutorial can help you a lot.
How to Create a Mailbox in Exchange Server 2016
To get started, open PowerShell with admin privileges and execute the following command. Just replace the appropriate parameters.
New-Mailbox -Name "< User mailbox name suppose Pilar Pinilla>" -UserPrincipalName <user principal name in the form of [email protected] name suppose [email protected]> -Password (ConvertTo-SecureString -String < password of user suppose 'Pa$$word1'> -AsPlainText -Force) -FirstName <first name suppose Pilar> -LastName <last name suppose Pinilla>