Wednesday, May 7, 2014

HowTo: Log On To Office 365 Using PowerShell


Run this PowerShell script to log on to Office 365 Exchange Management Shell and MSOL. When run, the script will prompt you to enter your Office 365 credentials, then connect to both services.


Download and install Microsoft Online Services Sign-In Assistant for IT Professionals BETA

Download and install Windows Azure Active Directory Module for Windows PowerShell (64-bit version)
Set-ExecutionPolicy RemoteSigned


Download and save script 365Logon.ps1

Run script

No comments:

Post a Comment