Provisior Tech Blog

Self-service by default

Day: August 31, 2019

Suppress import session output when connecting to O365

The other day I was working on some PowerShell scripts to manage shared mailboxes in O365. If you are familiar with this you obviously know that you need to setup a connection with Exchange online first. This will look something like this: $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential