In running the Get-mailboxStatistics, I keep getting the following error:
Get-MailboxStatistics |Where {$_.alias -eq 'Jsmith'}
"The term 'Where' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
I also tried the ? alias, same error. Any thoughts?
Shouldnt Where be substituted by Where-Object and add the server like below?
Get-MailboxStatistics -server serverhere |Where-Object {$_.alias -eq 'Jsmith'}
Please try it, havent got PS near now.