EDIT: It looks like the issue was a problem with Exchange admin roles. When my supervisor upgraded our server to Exchange 2013, it looks like my account wasn't added to the any of them. That also explains why I was never able to log onto the EAC with my account. I've updated the admin roles and my previous scripts are now working.
When I use the script below, it is only returning information for myself.
Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select-Object DisplayName,TotalItemSize
I've also tried the following two scripts, but both return with errors that the -Server or -Database parameters cannot be found.
Get-MailboxStatistics -Server SERVERNAME | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},ItemCount -auto
Get-MailboxStatistics -database "DATABASENAME" | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},ItemCount -auto
I've tried running Exchange Management Powershell as administrator, as well as using "#Enable Exchange cmdlets" first, but neither seem to help the issue.
Let me know if any other information is needed, and thanks in advance.