Showing posts with label Powershell. Show all posts
Showing posts with label Powershell. Show all posts

Thursday, September 20, 2007

How can I get Mailbox Guid from Exchange2007?

Just using this powershell and figure it out.

Get-MailboxStatistics WHERE {$_.lastlogontime -eq $null } fl -property displayname, mailboxguid, database

Get Exchange Mailbox Statistics

Get-MailboxStatistics where {$_.disconnectdate -eq $null} format-table -Property displayname, lastloggedonuseraccount, legacydn -AutoSize -Wrap Out-File D:\mbxstatistics.txt -Width 2147483647