Create a Shared Mailbox in Exchange 2007
Create shared mailboxes in Exchange 2007 using powershell as the EMC in Exchange 2007 doesnt allow you to create shared mailboxes like the new exchange 2010.
You can do this with the help of the new-mailbox cmdlet.
Below is an example of creating a shared mailbox called Info and then assigning the info security group full access to the shared mailbox.
New-Mailbox -Name:’info’ -OrganizationalUnit:’contoso.loal/OU/users OU’ -Database:’Mailbox Database’ -UserPrincipalName:’firstname.lastname@example.org’ -Shared
Exchange 2007 will now create a shared mailbox and also create a disabled active directory account.
Now to assign full access
Add-MailboxPermission Info -User:’info group’ -AccessRights:FullAccess
You can also convert a mailbox to shared one usin the set-mailbox cmdlet.
Set-Mailbox Info -Type:Shared
Once this is done, you are now able to manage the shared mailbox via Exchange Management console if you need to assign permissions for full access or send as permission. The following powershell command is used to assign send-as rights and read/write personal information.
Add-ADPermission info -User:’info Group’ -ExtendedRights:Send-As -AccessRights:ReadProperty, WriteProperty -Properties:’Personal Information’