Connect to Skype for Business Online

Scenario description

This scenario explains the steps required to import the Skype for Business module and connect remotely.

This will enable you to administer your Skype for Business using PowerShell as well as configure some Skype for Business settings that are only accessible through PowerShell.

In these four easy steps you will be connected to your company's Skype for Business platform.

Connect to Skype for Business Online

This first command will capture administrative credential for future connections.
$credential = get-credential
This command will import the Skype for Business module into your PowerShell session.
Import-Module LyncOnlineConnector
This command will prompt you for your username and password, remotely connect to Skype for Business and then allow you to manage your settings.
$lyncSession = New-CsOnlineSession -Credential $credential
This imports commands from your PowerShell session.
Import-PSSession $lyncSession
Skype for Business Online Administration and Management

This section describes the administration controls and support to customize Skype for Business Online settings