Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Get-MailboxStatistics -Server with -Archive doesn't work for me

$
0
0

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???

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles