How to Connect Skype Online using Windows PowerShell

How to Connect Skype Online using Windows PowerShell

This Document explains how to Connect Skype online using Windows PowerShell from your Local computer.

Pre-Request:

  1. User should have Skype for Business administrator Access level in Office 365.
  2. Windows PowerShell 3.0 or later.

Installing Skype Online Module

For first time use, we need to install the Skype for Business Online PowerShell Module in the computer.

You can download the Skype for Business Online PowerShell Module from the below link.

https://www.microsoft.com/en-us/download/details.aspx?id=39366

010116_1703_HowtoConnec1.png

010116_1703_HowtoConnec2.png

 

Once the installation is completed, you can connect the Skype Online.

 

Connecting the Skype Online from Windows PowerShell

  1. Open the new PowerShell Session

$UserCredential = Get-Credential XXX@yyy.onmicrosoft.com

$session=New-CsOnlineSession -Credential $UserCredential

Import-PSSession $session

 Then you can be access the Skype Online using PowerShell.

You can use Cmdlets like, Get-CSOnlineuser ..

For More Skype Online PowerShell cmdlets  –

https://technet.microsoft.com/en-us/library/mt228132.aspx