Get all SMTP addresses in domain:

Get-Recipient | Select Name -ExpandProperty EmailAddresses | Select Name,  SmtpAddress

Get mailbox statistics (sort by MailBox Size):

Get-mailbox | Get-MailboxStatistics | where {$_.ObjectClass –eq “Mailbox”} | Sort-Object TotalItemSize –Descending | ft @{label=”User”;expression={$_.DisplayName}},@{label=”Total Size (MB)”;expression={$_.TotalItemSize.Value.ToMB()}},@{label=”Items”;expression={$_.ItemCount}},@{label=”Storage Limit”;expression={$_.StorageLimitStatus}} -auto

Get mailbox statistics (sort by Last Logon Time):

Get-mailbox | Get-MailboxStatistics | where {$_.ObjectClass –eq “Mailbox”} | Sort-Object LastLogonTime –Descending | ft @{label=”User”;expression={$_.DisplayName}},@{label=”Total Size (MB)”;expression={$_.TotalItemSize.Value.ToMB()}},@{label=”Items”;expression={$_.ItemCount}},@{label=”Storage Limit”;expression={$_.StorageLimitStatus}},@{label=”Last Logon Time”;expression={$_.LastLogonTime}} -auto

Get mailbox statistics (sort by Last Logon Time with DB):

Get-mailbox | Get-MailboxStatistics | where {$_.ObjectClass –eq “Mailbox”} | Sort-Object LastLogonTime –Descending | ft @{label=”User”;expression={$_.DisplayName}},@{label=”DataBase”;expression={$_.Database}},@{label=”Total Size (MB)”;expression={$_.TotalItemSize.Value.ToMB()}},@{label=”Items”;expression={$_.ItemCount}},@{label=”Storage Limit”;expression={$_.StorageLimitStatus}},@{label=”Last Logon Time”;expression={$_.LastLogonTime}} -auto

Mailbox DB send quota:

Get-mailboxdatabase | fl IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota
Set-mailboxdatabase -IssueWarningQuota unlimited -ProhibitSendQuota unlimited -ProhibitSendReceiveQuota unlimited

Transport and connectors quota:

Get-TransportConfig | fl MaxReceiveSize, MaxSendSize
Get-ReceiveConnector | fl maxMessageSize
Get-SendConnector | fl maxmessagesize

Personal send/receive quotas:

get-mailbox |ft Name, Maxsendsize, maxreceivesize 


Google AdSence

AUST IT - Computer help out of hours, when you need it most.

Find out why we do it for less.

About

AUST IT will help you resolve any technical support issues you are facing onsite or remotely via remote desktop 24/7. More...

Contacts

Reservoir, Melbourne,
3073, VIC, Australia

Phone: 0422 348 882

This email address is being protected from spambots. You need JavaScript enabled to view it.

Sydney: 0481 837 077

Connect

Join us in social networks to be in touch.

Newsletter

Complete the form below, and we'll send you our emails with all the latest AUST IT news.