Usually when you google or do a “web search” you find a lot information how to write scripts for big enterprises and manage 100 to 1000 of servers and sometimes you have to become a little creative how you accomplish task for small business. I think it is easier to script for Small Business because they usually have one server that will host files, Exchange and Active Directory or have each role may be in a different server. Now if you are thinking to host stuff on premises think again, Office 365 is a great option for hosting your email in the cloud and if you are non-for-profit Office 365 is literally free.
I have written a script that creates user in Active Directory and then creates an Exchange Mailbox. The script can be run with admin credentials but you do not need to have the modules install on that computer. I have posted the code here
The requirements are the follow
- Exchange 2013
- Windows Server 2012 R2
- or Small Business Server 2013
If you have question on how to automated task for small business let me know. You will be surprised the amount of time you save