edit this page

Connect-Lync

SYNOPSIS

Connect to Skype for Business Server or Online.

SYNTAX

DESCRIPTION

This function uses New-PSSession or New-CsOnlineSession to connect to Skype for Business (or Lync) Servers or Skype for Business Online. The resulting PS Session is then imported and makes cmdlets available in the current session. The Timeout and ProxyType parameters are used to configure the PSSessionOption with respective values.

This function requires the MicrosoftTeams Module: https://www.powershellgallery.com/packages/MicrosoftTeams/1.1.6

EXAMPLES

EXAMPLE 1

Connect-SfB -Online -AdminDomain uclab

This example connects to Skype for Business Online setting the OverrideAdminDomain to uclab.onmicrosoft.com

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None.

OUTPUTS

None.

NOTES

Author: @torggler