Sample Chapters from Microsoft Exchange | Managing Mailboxes: The Essentials
Creating Shared Mailboxes
Shared mailboxes are mailboxes that are shared by multiple users . Although shared mailboxes must have an associated user account, this account is not used for logon in the domain and is disabled by default . Users who access the shared mailbox do so using access permissions .
You can create a shared mailbox by using New-Mailbox, as shown in this example:
New-Mailbox CustomerService -Shared –UserPrincipalName [email protected]
A user account named CustomerService is created for this mailbox . This user account is disabled by default to prevent logon using this account . To share the mailbox with users who need to be able to access it, right-click the mailbox in the
Exchange Management Console, select Manage Full Access Permission, and then follow the prompts .
Managing Mailboxes: The Essentials
You often need to manage mailboxes the way you do user accounts . Some of the management tasks are intuitive and others aren’t . If you have questions, be sure to read the sections that follow .
You can work with multiple recipients at the same time . To select multiple resources not in sequence, hold down the Ctrl key and then click the left mouse button on each resource you want to select . To select a series of resources, select the first resource, hold down the Shift key, and then click the last resource .
The actions you can perform on multiple resources depend on the types of recipients you’ve selected . Generally, you’ll want to work with recipients of the same type, such as either user mailboxes or room mailboxes, but not both types at the same time . The actions you can perform on multiple mailboxes include: n
Disable Archive n
New Local Move Request n
New Remote Move Request n
You also can edit the properties of multiple recipients at the same time . To do this, select the recipients you want to work with, right-click and then select Properties . Just about any property that can be set for an individual recipient can be set for multiple recipients .
ChAPTEr 6 169
If the Properties option isn’t available when you right-click, you’ve probably selected one or more recipients of different types. For example, you might have intended to select only user mailboxes but selected a room mailbox as well.
Viewing Current Mailbox Size, Message Count, and Last
You can use the Exchange Management Console to view who last logged on to a mailbox, the last logon date and time, the mailbox size, and the message count by completing these steps:
Expand the Recipient Configuration node and then select the Mailbox node .
Double-click the mailbox with which you want to work .
On the General tab, the Last Logged On By text box shows who last logged on to the mailbox, and the Modified entry shows the date and time the
mailbox was last modified . (See Figure 6-3 .)
On the General tab, the Total Items and Size (KB) areas show the number of messages in the mailbox and the current mailbox size in kilobytes, respectively .
View mailbox statistics .
170 ChAPTEr 6
If you want to view similar information for all mailboxes on a server, the easiest way is to use the Get-MailboxStatistics cmdlet . Sample 6-3 shows examples using this cmdlet . Use the –Archive parameter to return mailbox statistics for the archive mailbox associated with a specified mailbox .
Getting statistics for multiple mailboxes
Get-MailboxStatistics -Identity 'Identity' [-Archive <$true|$false>]
[-DomainContoller DomainController] [-IncludeMoveHistory <$true|$false>]
Get-MailboxStatistics -Server 'Server' | -Database 'Database'
Get-MailboxStatistics -Server 'corpsvr127'
Get-MailboxStatistics -Database 'Engineering Primary'
Get-MailboxStatistics –Identity 'cpandl\williams'
When you are working with the Exchange Management Shell, the standard output won’t necessarily provide all the information you are looking for . Often, you need to format the output as a list or table using Format-List or Format-Table,
respectively, to get the additional information you are looking for . Format-List comes in handy when you are working with a small set of resources or want to view all the properties that are available . Once you know what properties are available for a particular resource, you can format the output as a table to view specific properties . For example, if you format the output of Get-MailboxStatistics as a list, you see all the properties that are available for mailboxes, as shown in this example and sample output: get-mailboxstatistics -identity "cpandl\daniele" | format-list
AssociatedItemCount : 2655
DeletedItemCount : 121
DisplayName : Daniel Escapa
ItemCount : 2451
LastLoggedOnUserAccount : NT AUTHORITY\SYSTEM
LastLogoffTime : 6/15/2010 12:58:18 PM
LastLogonTime : 6/15/2010 12:58:14 PM
LegacyDN : /O=FIRST ORGANIZATION/OU=EXCHANGE
ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=DANIEL ESCAPA
MailboxGuid : d3f6ce55-fe3d-4beb-ae65-9c9f7edaf995c
ChAPTEr 6 171
ObjectClass : Mailbox
StorageLimitStatus : BelowLimit
TotalDeletedItemSize : 97 KB (97,235 bytes)
TotalItemSize : 1155.11 KB (1,155,445 bytes)
Database : Customer Service Primary
ServerName : CORPSERVER45
DatabaseName : Customer Service Primary
IsQuarantined : False
IsArchiveMailbox : False
Identity : d3f6ce44-fe0c-4beb-ae79-9c9f8eaf123c
MapiIdentity : d3f6ce44-fe0c-4beb-ae79-9c9f8eaf123c
OriginatingServer : corpserver45.cpandl.com
IsValid : True
Once you know the available properties, you can format the output as a table to get exactly the information you want to see . In this example, you get information about all the mailboxes in the Engineering Primary database and format the output as a table:
Get-MailboxStatistics -Database 'Engineering Primary' | format-table
DisplayName, TotalItemSize, TotalDeletedItemSize, Database, ServerName
Setting Alternate Mailbox Display Names for Multilanguage
In some cases, the full display name for a mailbox won’t be available for display . This can happen when multiple language versions of the Exchange snap-in are installed on the network or when multiple language packs are installed on a system . Here, the system cannot interpret some or all of the characters in the display name and, as a result, doesn’t show the display name . To correct this problem, you can set an alternate display name using a different character set . For example, you could use
Cyrillic or Kanji characters instead of standard ANSI characters .
You can set an alternate display name for a mailbox by following these steps:
Open the Properties dialog box for the mailbox-enabled user account by double-clicking the user name in the Exchange Management Console .
On the User Information tab, type the alternate display name in the Simple
Display Name text box and then click OK .
hiding Mailboxes from Address Lists
Occasionally, you might want to hide a mailbox so that it doesn’t appear in the global address list or other address lists . One reason for doing this is if you have administrative mailboxes that you use only for special purposes . To hide a mailbox from the address lists, follow these steps:
172 ChAPTEr 6
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project