Problem
You want to automate tasks you normally complete through one of the wizards in the Exchange Management Console.
Solution
To automate a wizardguided task, complete the wizard in the Exchange Management Shell, and then save the script it displays for future reference.
Discussion
Since the Exchange Management Console user interface uses PowerShell cmdlets to accomplish all its actions, every wizard displays the PowerShell script that you could run to accomplish the same task.
Launch the Exchange Management Console, and then click Recipient Configuration
➝ Mailbox. In the Actions pane, click New Mailbox. Select User Mailbox ➝ Existing User ➝ Preeda Ola. Type preeda as an alias, and then complete the wizard. The final step provides the PowerShell command that you can use next time.