Analysis: Enabling a user for a mailbox can be done in the graphical interface (Exchange Management Console) or the command-line interface (Exchange Management Shell), which is more intuitive than the GUI interface, and the CLI interface is more flexible and efficient.
If you are a single user, you can use
Enable-mailbox–identity User01//enable mailbox for User01 user, other properties default
If you are using a bulk-enabled user account based on an OU
Get-user–organizationalunit Market |enable-mailbox
Enable mailbox for all users under the market organizational unit
Note: If some users under the market organizational unit are mailbox-enabled, the above command Word will be executed with an error and the user experience is not good.
In this case, you can add filter parameters to find users who are not yet mailbox-enabled in the market for them to take effect. The command is as follows:
Get-user–organizationalunit Beijing | Where-object{$_. Recipienttype–eq "User"} | Enable-mailbox
650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/6C/6F/ Wkiom1vjdaxr11tdaacdukyqd-w327.jpg "" 244 "height=" 244 "/>
Exchange2013 Configure-ems to create user mailboxes in bulk