Managing archive properties
Behind
the scenes, EAC calls the Enable-Mailbox cmdlet to enable an archive.
These commands first enable the personal archive for a mailbox and then
retrieve the properties that Exchange maintains for an archive.
Enable-Mailbox –Identity '[email protected]' –Archive
Get-Mailbox –Identity '[email protected]' | Select Name, Arch*
ArchiveDatabase : DB2
ArchiveGuid : 03c8b429-5160-4418-868c-2816b8a31d71
ArchiveName : {Personal Archive - Ruth, Andy (VP Sales)}
ArchiveQuota : 50 GB (53,687,091,200 bytes)
ArchiveWarningQuota : 45 GB (48,318,382,080 bytes)
ArchiveDomain :
ArchiveStatus : None
ArchiveState : Local
ArchiveRelease :
The
first four archive properties are always populated for a mailbox when
it is archive-enabled. The globally unique identifier (GUID) identifies
the archive mailbox within the database where it is stored. The default
name for the archive is derived from the Personal Archive prefix plus
the mailbox’s display name and can be changed afterward to whatever
name you prefer. The archive quotas are inherited from the default
values set for the database and reflect the values Exchange uses to
limit the amount of information in the archive and when it starts to
issue warning messages.
You can alter these values with the Set-Mailbox cmdlet. For example:
Set-Mailbox –Identity '[email protected]' –ArchiveName "Andy's Splendid Online Archive" –ArchiveQuota 2GB –ArchiveWarningQuota 1.9GB –UseDatabaseQuotaDefaults $False
The last four properties have the following meaning:
ArchiveDomain
is used only if the personal archive is stored on an Exchange Online
server (Office 365). If used, the property holds the name of the tenant
domain.
ArchiveStatus contains a status value to indicate whether the personal archive has been created on an Exchange Online server.
ArchiveState is Local, in this case meaning that the archive is on a local, on-premises server.
ArchiveRelease
is reserved for Microsoft purposes and might be used to indicate that
an archive depends on a particular version of Exchange in the future.
For now, it remains blank.
The
amount of space used in an archive mailbox can be checked with the
Get-MailboxStatistics cmdlet, which supports the –Archive parameter to
tell it to report details of the archive mailbox rather than the
primary mailbox. For example:
Get-MailboxStatistics –Identity 'John Smith' –Archive | Format-Table DisplayName, ItemCount, TotalItemSize, LastLogonTime -AutoSize
Updating properties of an archive mailbox
You can update some archive properties, including its name,
through EAC. To do this, select the mailbox, click Edit, navigate to
Mailbox Features, and then select View Details for the Archiving
section. You can update the name (Figure 3) and the quotas assigned to the archive. EAC also displays details of the quota currently used in the archive.