<

How to connect lync online through powershell

Published on
8,155 Points
1,955 Views
2 Endorsements
Last Modified:
Approved
Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center

Download Windows PowerShell Module for Lync Online

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


How to install Lync Module

Before we would need to install .NET Framework 4.0 or later and Windows Management Framework 3.0

Download Source:

.NET Framework 4.0 or 4.5: http://www.microsoft.com/en-us/download/details.aspx?id=17851

Windows Management Framework 3.0: http://www.microsoft.com/en-us/download/details.aspx?id=34595

Once you have installed .Net Framework and Windows Management Framework 3.0, you can install Lync online powershell Module.

How to configure Powershell

Run Powershell as an administrator, and run the following command:

Set-ExecutionPolicy RemoteSigned

Configure WinRM

Open up a command prompt as an administrator, and then run the following commands

net start winrm

How to connect Lync online powershell

You can open the windows powershell, The way of connecting to Lync Online is similar to connecting to Exchange Online.

$cred = Get-Credential

$CSSession = New-CsOnlineSession -Credential $cred

Import-PSSession $CSSession –AllowClobber

Test the lync online command.

Get-Csonlineuser <Identity Name>

This article could be already published in my own blogs:

http://messagingsolutions.wordpress.com/2014/01/09/how-to-connect-lync-online-through-powershell/
2
Comment
2 Comments

Expert Comment

by:VKP_Madrasedu
Hi! It is Simple N useful. Thank u for this, Keep posting.
0
LVL 45

Expert Comment

by:Amit
Simple and easy.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Join & Write a Comment

From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …
Watch this online video tutorial and learn the best way to reduce Outlook mailbox size using Compact Now feature of Outlook. It removes the deletes item's space from Microsoft Outlook 2016, 2013, and 2010 and compresses the PST file size. This will …

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month