You have to either specify a user (that's the identity), a server, or a database to Get-MailboxStatistics (that may have been a 2010 change, I can't remember). If you want a list of ALL mailboxes on all servers on all databases, you'd add a predicate. Something like this:
Get-Mailbox -resultsize unlimited | Get-MailboxStatistics | Sort -Property TotalItemsize | Format-Table DisplayName, LastLoggedOnUserAccount, ItemCount, @{expression={$_.totalitemsize.value.ToMB()}; label="Size(MB)"}, LastLogonTime, LastLogoffTime Regards, Michael B. Smith Consultant and Exchange MVP http://TheEssentialExchange.com -----Original Message----- From: Bill Humphries [mailto:nt...@hedgedigger.com] Sent: Tuesday, January 04, 2011 10:15 PM To: MS-Exchange Admin Issues Subject: dumb question regarding powershell and 2010. i'm wanting to get a list of mailboxes sorted by size. I run this: [PS] C:\Windows\system32>Get-MailboxStatistics | Sort -Property TotalItemsize | Format-Table DisplayName, LastLoggedOnUs erAccount, ItemCount, @{expression={$_.totalitemsize.value.ToMB()};label="Size(MB)"}, LastLogonTime, LastLogoffTime but when i run it, it asks me to provide an identity. i just want a list. what is my problem? thanks. bill --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist