I must be doing something wrong but here is my issue:
Get-MailboxStatistics -Server "exnameofserver" #works fine and returns data
Get-MailboxStatistics -Server "exnameofserver" -Archive #throws this error: "Parameter set cannot be resolved using the specified named parameters"
Same issue with -Database param btw
I know I can run a foreach with Identity but that will take 5 hours on the archives when the primarys data returns in a matter of a couple of minutes with all info I need.
Anyone know what I am doing wrong or a better way than foreach and 5 hours???