Connecting to Skype for Business Online using powershell

Download and install these items:

Once you have installed all the requirement, you are all set

Just run the below CMDs, or rather create a function and add them a custom module to your powershell session.

Import-Module LyncOnlineConnector
$credential = Get-Credential
$session = New-CsOnlineSession -Credential $credential
Import-PSSession $session