Powershell command RRS feed

  • Question

  • Hi, I need help with a PowerShell command for exchange server 2012 r2, to export a report from a certain server, with  mailbox name, lastlogontime, mailbox size and in what database it is. this is what i have so far : Get-mailbox -ResultSize Unlimited -server "servermbx" | Get-MailboxStatistics | Select-object DisplayName,PrimarySmtpAddress,TotalItemSize,ItemCount,Database,LastLogonTime, but it doesn't display the smtp address.

    Can someone pls help? :D

    Friday, October 30, 2020 8:47 AM

All replies