<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

How to connect lync online through powershell

Published on
8,285 Points
2,085 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
2 Comments

Expert Comment

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

Expert Comment

by:Amit
Simple and easy.
0

Featured Post

Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

A query can call a function, and a function can call Excel, even though we are in Access. This is Part 2, and steps you through the VBA that "wraps" Excel functionality so we can use its worksheet functions in Access. The declaration statement de…
I previously published an Experts Exchange video Micro Tutorial that describes how to scan documents to a PDF file using an excellent, free product called Foxit Reader: How to scan to a PDF file with free software (https://www.experts-exchange.co…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month