I am demoing Exchange Online Archiving in a hybrid environment with on-premises mailboxes and cloud-based archives.
When I run the command:
Get-Mailbox -Archive | Get-MailboxStatistics -Archive | fl
I get the message:
The user 'xyz' has a cloud-based archive. Currently, you can't run Get-MailboxStatistics -Archive on a cloud-based archive.
What is the best way to get a list of archive mailboxes for all the on-premise users I have set up with cloud archives?
Thanks in advance for your help!