Connect To Skype For Business Online Using PowerShell

In this article I’ll show you how to connect to Skype For Business Online using PowerShell.

Like always, Before you start, please Install the Windows PowerShell Module for Office 365.

Once you have the PowerShell module for Office 365 please download the PowerShell module for Skype For Business Online.

Next, Install the module.

Now that we have all the required software and modules Installed, Use the code below to connect to the Skype For Business service.

Run PowerShell ISE as Administrator

Set-ExecutionPolicy unrestricted

Import-Module SkypeOnlineConnector

$cred = Get-Credential

$session = New-CsOnlineSession -Credential $cred -Verbose

Import-PSSession -Session $session

To view all available cmdlets type:

Get-Command -Module tmp_mmdx3k5r.cuh

To view all remote session type:


To close your PS session use:

Remove-PSSession 1




Leave a Reply