Forum Discussion
Rakesh G R
Nov 30, 2016Copper Contributor
ArchiveStatus Flag in Mailbox object
Normally to get the list of archive mailboxes I use,
Get-Mailbox -Archive
I recently found that the mailbox object has a flag named 'ArchiveStatus' that either has values Active or None.
When I run
Get-Mailbox -Filter {ArchiveStatus -eq 'Active'}
the results are different(only some of the mailboxes;though I don't know if it might consist of entirely different mailboxes and hence the question) from those of the previous cmdlets'
So what exactly does the 'ArchiveStatus' flag mean and are there possibilities where the flag might not have been set at all?
You don't need to apply any filter to find archive mailboxes.
Just run:
[PS] C:\> Get-Mailbox -Archive
ArchiveStatus is Active when a mailbox is archive-enabled or None when it is not. For more information, see Chapter 8 of "Office 365 for IT Pros".