As an Administrator for Office 365, you can use PowerShell to manage a lot of your administrative tasks such as user management and domain management.
The following is needed:
- MS Online Services Assistant needs to be downloaded and installed
- MS Online Module for PowerShell needs to be downloaded and installed
- Connect to Microsoft Online in PowerShell
- Download MS Online Services Assistant
Download the OS version needed:
- Microsoft Online Services Sign-In Assistant – 32 bit version
- Microsoft Online Services Sign-In Assistant – 64 bit version
- Download Online Module for PowerShell
Download the OS version needed:
- Microsoft Online Services Module for Windows PowerShell (32-bit version)
- Microsoft Online Services Module for Windows PowerShell (64-bit version)
- Connect to MS Online in PowerShell
Open a PowerShell session and import the MS Online Module using:
Import-Module MsOnline
Connect with your Microsoft Online tenant account using:
Connect-MsolService
Use your tenant account e.g. [email protected].
- Now you are ready to work with PowerShell against your Office 365 account. If you need a list of the cmdlets available, see the reference documentation link below or run the following PowerShell command:
Get-Command -Module MsOnline
- Reference documentation:
are these up to date?
No unfortunately not. I will updated as soon as I have time for it and create an updated blog post.