From the course: Microsoft Exchange Server Essential Training: Installation and Configuration

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Add mailbox users in PowerShell

Add mailbox users in PowerShell - Microsoft Exchange Server Tutorial

From the course: Microsoft Exchange Server Essential Training: Installation and Configuration

Start my 1-month free trial

Add mailbox users in PowerShell

- [Instructor] Besides using the Exchange Admin Center to create a new user, we can also use Powershell and its Microsoft Exchange version of Powershell, which we can open here from the Start menu, and we see we're successfully connected to Exchange 1. Now on the right hand side, I've included a command to create a new user, and at the bottom section, I've broken out the command itself so we can discuss it. The first line, the dollar sign, password, enter password, AsSecureString basically just says we're going to be typing in our password later on in this command. After that is the New Mailbox command which creates the account for us, and it has a UserPrincipalName of Steve at techpub.us. After that, we've got the Alias, which is SteveMiner. Just as we created an alias when we created the graphical user option, we'll need to create it here as well. And under OrganizationalUnit, we're going to be picking Users, which is the default, although we can a different OU if we choose…

Contents