I am trying to pipe the results of:
(Get-Mailbox crusso -IgnoreDefaultScope | Select-object DistinguishedName -ExpandProperty DistinguishedName)
into the get-mailboxstatistics below without any luck.
Anyone have an idea what i am doing wrong?
(Get-Mailbox tSmith -IgnoreDefaultScope | Select-object DistinguishedName -ExpandProperty DistinguishedName) | Get-MailboxFolderStatistics -Identity$._ | Select-Object Name,Identity,FolderPath,ItemsInFolder,ItemsInFolderAndSubfolders