If you are frequently administering an Microsoft Office 365 subscription through PowerShell you might find this little PowerShell script (.ps1) handy.
To administer Office 365 with PowerShell, including the Microsoft Exchange Online features, you require two things in your local PowerShell session:
The “Microsoft Online Services Module” for Windows PowerShell. This module is downloaded and installed locally on-premise, and gives your local PowerShell session the ability to run Microsoft Online Service (“Msol”) cmdlet’s that can be used for basic Microsoft Online administration. A remote PowerShell session to your Microsoft Exchange Online tenant. This gives your local PowerShell session access to the Exchange Online cmdlet’s.
Note: there are currently no specific . . . → Read More: Handy PowerShell Administration Script for Office 365