Creates new mailbox with the alias kenmyer and sets the company to Contoso. This script/command requires Microsoft Exchange Server 2007.

Visual Basic
Edit|Remove
new-Mailbox -alias kenmyer -name KenMyer -database "atl-ms-01\First Storage Group\Mailbox Database" -org users | set-user -company Contoso