Office 365–Connect to MsOnline using PowerShell
The administration and configuration of Office 365 can done using PowerShell. To connect to the Office 365, you need the appropriate modules installed. These modules are available from Microsoft website. This article describes how to connect to Office 365 provider.
- Install the Microsoft Online Services Sign-In Assistant
32-bit
64-bit - Install the Microsoft Online Services Module for Windows PowerShell
32-bit
64-bit - Open PowerShell and import the MsOnline Module or use the desktop shortcut which was created by the installer.
Import—Module MsOnline - Connect to your Microsoft Office 365 accountConnect-MsolService
Use your Office 365 LiveID to login (for exampleusername@company.onmicrosoft.com)
- Now you can start working with Windows Powershell in your Office 365 account, if you need some more help about the available Powershell cmdlets you can list them withGet-Command –Module MsOnline
have phun!
Yorumlar