Wednesday, December 04, 2013

Sending an Lync IM using PowerShell

I just saw a neat script over at Microsoft’s scripting center – Send Lync IM with PowerShell. It does what it says on the tin. But there’s some good news and some bad news with this script.

First, out of the box it won’t run because the reference assemblies do not exist. No problem – just load the SDK. Ahh – but the SDK requires you to have Visual Studio installed. A bit tedious to enable one to play with it, but I understand.

To send an IM with the client dll loaded is done in several steps involving first getting the client details, then getting a conversation, looking up the contact you want to send the message to and finally sending the IM.

Technorati Tags: ,

No comments: