Connecting to Office 365 using Windows Powershell

Connecting to Office 365 using Windows Powershell

1. Open Windows Powershell with Run as Administrator on your computer
2. $Cred = Get-credential (enter administrator email/password)
3. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred -Authentication Basic –AllowRedirection
4. Set-ExecutionPolicy RemoteSigned
5. Import-PSSession $Session

You should now be connected and can use Powershell commands
For more info see: http://msexchangeguru.com/2014/02/03/eop-o365-connect-powershell/
    • Related Articles

    • Using DISM to repair Windows files

      Check thread here: http://www.windowscentral.com/how-use-dism-command-line-utility-repair-windows-10-image?utm_medium=slider&utm_campaign=navigation&utm_source=wp
    • Batch Print a folder / multiple files

      Windows has limitation of selecting 15 files at any one time.Try this program: http://www.doc2prn.com/