[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1335
  • Last Modified:

Need Exchange 2013 powershell command that will list in GB prohibit send, prohibit receive, and issue warning settings

Need Exchange 2013 powershell command that will list in GB prohibit send, prohibit receive, and issue warning settings.  If this could in some sort of neat columnar arrangement, that would be a bonus.  Thanks.
0
LB1234
Asked:
LB1234
  • 2
1 Solution
 
Carol ChisholmCommented:
This will make a CSV which you can read in Excel:

Get-MailboxDatabase | Select-Object Name,IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota | Sort-Object Name | Export-Csv –Path .\DatabaseLimits.csv –NoTypeInformation

Get-Mailbox | Select-Object DisplayName,Database,IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota | Sort-Object DisplayName | Export-Csv –Path .\MailboxLimits.csv –NoTypeInformation

Here is the reference at TechNet:
http://blogs.technet.com/b/heyscriptingguy/archive/2012/03/06/use-powershell-to-manage-exchange-server-mailbox-storage-limits.aspx
0
 
Carol ChisholmCommented:
Or this one for on-screen:

get-mailbox -server <server> -ResultSize unlimited |Where {$_.UseDatabaseQuotaDefaults -eq $false} |ft DisplayName,IssueWarningQuota,ProhibitSendQuota,@{label="TotalItemSize(MB)";expression={(get-mailboxstatistics $_).TotalItemSize.Value.ToMB()}}

From here:
http://social.technet.microsoft.com/Forums/exchange/en-US/454351f8-bc30-4631-ac0c-077d913fb598/powershell-script-to-generate-quota-mailbox-size-report
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now