Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Powershell error | The specified mailbox "Joe.Bloggs" isn't unique

$
0
0

In powershell when connected to my Office 365 service..

When i try to get the mailbox statistics for our users it shows an error for those who have multiple mailboxes.

This is the cmdlet that i have run

get-mailbox | get-mailboxstatistics | Select DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending | Export-CSV C:\Users.csv

I have tried to specify the exact mailbox by email address but still get the same error, is there any other cmdlet that i can use which will show me the statistics that i need?


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>