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