This past week I worked with some customers who were getting started with using PowerShell against Exchange Online as part of their new Office 365 solution. As you may know Exchange is not my primary focus area but since these customers’ needs centered around PowerShell I thought this would be a good opportunity to learn more. What soon became apparent to me was a few things:
- The output / objects returned from Exchange Online vs. on-premises commandlets sometimes differ (mainly due to Exchange Online output needing to be serialized across the wire)
- Some of the community scripts posted on TechNet Script Center or PoSH Code Repository that work for on-premises won’t work against Exchange Online due to the above
- I went to multiple resources to get an introduction of using the Exchange Online commandlets
In light of the last item I would like to share some resources I gathered for getting started with the Exchange Online commandlets. I will address the first two items in a follow up post that shows one sample script that I helped a customer fix.
Using PowerShell with Office365
Administering Microsoft Office 365 using WIndows PowerShell
Reference to Available PowerShell Cmdlets in Exchange Online
Windows PowerShell cmdlets for Office 365
Role Based Access Control in Exchange Online
Exchange Online and RBAC
Office 365 is being integrated into more and more customers’ environments. While your PowerShell skills can still be used to manage certain portions of Office 365 (Exchange Online as of the time of this writing) there are a few differences in how data is passed back and forth. Hopefully the links above will get you started on scripting against cloud based services.