Skip to main content

Manage 365 using Powershell

Although the GUI for 365 is constantly improving, the only way to manage 365 effectively is powershell.

As there will be lots of Powershell in this blog, here is the base of it all : Connecting to the service !

  1. $UserCredential = Get-Credential
  2. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection
  3. Import-PSSession $Session
  4. Set-ExecutionPolicy unrestricted



I am the one