Downloading and Installing the Lync Online Connector Module
Topic Last Modified: 2013-12-13
The Lync Online Connector module includes the New-CsOnlineSession cmdlet, which enables you to create a remote Windows PowerShell session that connects to Lync Online. This module, which is supported only on 64-bit computers (see Configuring Your Computer for Lync Online Management for more information), can be downloaded from the Microsoft Download Center at http://go.microsoft.com/fwlink/?LinkId=294688. Download the LyncOnlinePowershell.exe file, and then complete the following procedure:
Double-click the LyncOnlinePowershell.exe file.
In the Lync Online Tenant PowerShell Setup wizard, on the Microsoft Software License Terms page, select I accept the terms in the License Agreement, and then click Install. If the User Account Control dialog box appears, click Yes to continue the installation.
On the Completed the Microsoft Lync Online, Tenant PowerShell Setup page, click Finish.
The setup program copies the Lync Online Connector module (and the New-CsOnlineSession cmdlet) to your local computer. To access the module, start a Windows PowerShell session under administrator credentials, and then run the following command:
If you do not want to type this command every time you start Windows PowerShell, you can add the command to your Windows PowerShell profile. To do that, type the following command at the Windows PowerShell prompt and then press ENTER:
When Notepad appears, add the following line to the bottom of the commands that are already in the profile (if any):
Save the file. The next time you start Windows PowerShell, the Lync Online Connector module will automatically be imported. Be aware that you will get an error message, and the module will not be loaded, if you are not running Windows PowerShell under administrator credentials.
In addition to installing the Lync Online Connector module, LyncOnlinePowershell.exe also installs two additional components: .NET Framework 4.5 and the Microsoft Visual C++ 2012 Redistributable (x64) package (version 11.0.50727). .NET Framework 4.5 provides the infrastructure used for building and running .NET applications, including Windows PowerShell. The Visual C++ Redistributable package installs Visual C++ runtime components for computers that do not have Microsoft Visual Studio 2012 installed.