{"id":2161,"date":"2014-12-19T01:59:51","date_gmt":"2014-12-19T01:59:51","guid":{"rendered":"http:\/\/riguy.azurewebsites.net\/?p=2161"},"modified":"2014-12-30T20:57:41","modified_gmt":"2014-12-31T04:57:41","slug":"exchange-server-2010-database-quotas-by-management-shell","status":"publish","type":"post","link":"https:\/\/riguy.com\/?p=2161","title":{"rendered":"Exchange Server 2010 Database Quotas by Management Shell"},"content":{"rendered":"<p>To follow up on the previous Exchange Server topic &#8211;<\/p>\n<p>I need to be able to set employee mailbox quotas at the database level, which will\u00a0guarantee all\u00a0mailboxes in that database have the same\u00a0same quotas. I was unable to find the exact command\u00a0 to use online to accomplish following: set a quota on a DATABASE (not a mailbox, which is easy and not as dangerous)\u00a0AND\u00a0also override any current settings. Exchange and \/ or Systems Administrators are wise to test command line items beginning with &#8220;SET&#8221;. So in my case, I was able to set up a test database in Exchange. I set that database quota default to something silly, like @ 50 Megabytes = no email receiving ability.<\/p>\n<div style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"http:\/\/riguy.azurewebsites.net\/wp-content\/uploads\/2014\/12\/quot.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/riguy.azurewebsites.net\/wp-content\/uploads\/2014\/12\/quot.jpg\" alt=\"\" width=\"320\" height=\"218\" border=\"0\" \/><\/a><\/div>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<p>I then moved 2 test mailboxes to the test database. I verified each mailbox had distinct individual quotas and were not inheriting the database defaults. I then went to the Exchange Management Shell. I knew I&#8217;d be setting (SET-), like a database. But I also recalled the syntax actually was Set-MailboxDatabase. This shell can be friendly, for instance if you have an idea of where you&#8217;re going, you type a few letters you can try the arrow keys. It may go through a menu of available arguments. Regardless I decided to skip the Google or Bing searches, which continuously\u00a0yielded MAILBOX quota search results. [Again, I&#8217;m trying to set quota defaults at the Database level and override individual quotas]. Instead I used the very helpful -? option<\/p>\n<p>&nbsp;<\/p>\n<div style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"http:\/\/riguy.azurewebsites.net\/wp-content\/uploads\/2014\/12\/shell.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/riguy.azurewebsites.net\/wp-content\/uploads\/2014\/12\/shell.jpg\" alt=\"\" width=\"320\" height=\"154\" border=\"0\" \/><\/a><\/div>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<div style=\"clear: both; text-align: left;\">As seen above, if you dig in enough you can see 3 key areas &#8211; issue warning, prohibit send, and prohibit send\/receive.<\/div>\n<div style=\"clear: both; text-align: left;\"><\/div>\n<div style=\"clear: both; text-align: left;\"><\/div>\n<div style=\"clear: both; text-align: left;\">[NOTE: IF YOU USE &#8216;PROHIBIT SEND AND RECEIVE&#8221;, EMAILS TO YOUR OVER QUOTA EMPLOYEES WILL NOT ARRIVE &#8211; NOT A GOOD PRACTICE UNDER ANY CIRCUMSTANCE]. Ok, then.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>To follow up on the previous Exchange Server topic &#8211; I need to be able to set employee mailbox quotas at the database level, which will\u00a0guarantee all\u00a0mailboxes in that database have the same\u00a0same quotas. I was unable to find the exact command\u00a0 to use online to accomplish following: set a quota on a DATABASE (not &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/riguy.com\/?p=2161\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Exchange Server 2010 Database Quotas by Management Shell&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81],"tags":[91,111,101],"class_list":["post-2161","post","type-post","status-publish","format-standard","hentry","category-exchange-server","tag-exchange-server","tag-mailbox","tag-quotas"],"_links":{"self":[{"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/posts\/2161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/riguy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2161"}],"version-history":[{"count":8,"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/posts\/2161\/revisions"}],"predecessor-version":[{"id":4711,"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/posts\/2161\/revisions\/4711"}],"wp:attachment":[{"href":"https:\/\/riguy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/riguy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/riguy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}