How Can We Help?

Categories

Powershell – Come creare la lista delle mailbox presenti sul server Exchange (user or shared mailbox)

You are here:
< Back

How to create the list of mailboxes on the Exchange server (user or shared mailbox)

Lista totale:
Get-Mailbox -RecipientTypeDetails usermailbox,sharedmailbox | select DisplayName, samaccountname, PrimarySmtpAddress, WindowsEmailAddress, UserPrincipalName, ServerName, database, ProhibitSendQuota, ProhibitSendReceiveQuota, RecoverableItemsQuota, RecoverableItemsWarningQuota, CalendarLoggingQuota, IssueWarningQuota, WhenMailboxCreated | Export-CSV “C:\Temp\MailboxSizeReport_SHARED.csv” -NoTypeInformation -Encoding UTF8

Solo Usermailbox:
Get-Mailbox -RecipientTypeDetails usermailbox | select DisplayName, samaccountname, PrimarySmtpAddress, WindowsEmailAddress, UserPrincipalName, ServerName, database, ProhibitSendQuota, ProhibitSendReceiveQuota, RecoverableItemsQuota, RecoverableItemsWarningQuota, CalendarLoggingQuota, IssueWarningQuota, WhenMailboxCreated | Export-CSV “C:\Temp\MailboxSizeReport_SHARED.csv” -NoTypeInformation -Encoding UTF8

Solo Sharedmailbox:
Get-Mailbox -RecipientTypeDetails sharedmailbox | select DisplayName, samaccountname, PrimarySmtpAddress, WindowsEmailAddress, UserPrincipalName, ServerName, database, ProhibitSendQuota, ProhibitSendReceiveQuota, RecoverableItemsQuota, RecoverableItemsWarningQuota, CalendarLoggingQuota, IssueWarningQuota, WhenMailboxCreated | Export-CSV “C:\Temp\MailboxSizeReport_SHARED.csv” -NoTypeInformation -Encoding UTF8