Exchange Server 2010 Database Quotas by Management Shell

To follow up on the previous Exchange Server topic –

I need to be able to set employee mailbox quotas at the database level, which will guarantee all mailboxes in that database have the same same quotas. I was unable to find the exact command  to use online to accomplish following: set a quota on a DATABASE (not a mailbox, which is easy and not as dangerous) AND also override any current settings. Exchange and / or Systems Administrators are wise to test command line items beginning with “SET”. 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.

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’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’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 yielded MAILBOX quota search results. [Again, I’m trying to set quota defaults at the Database level and override individual quotas]. Instead I used the very helpful -? option

 

As seen above, if you dig in enough you can see 3 key areas – issue warning, prohibit send, and prohibit send/receive.
[NOTE: IF YOU USE ‘PROHIBIT SEND AND RECEIVE”, EMAILS TO YOUR OVER QUOTA EMPLOYEES WILL NOT ARRIVE – NOT A GOOD PRACTICE UNDER ANY CIRCUMSTANCE]. Ok, then.