Identity Manager provides support for managing Active Directory and Microsoft Exchange Online by using Windows PowerShell cmdlets.
Section 8.1, Overview of PowerShell Functionality
Section 8.2, Implementing PowerShell Cmdlets in the Office 365 Driver