Change status of Lync by script -


is possible change status of microsoft lync 2010 script?

i want script works on win xp , change status available after fixed interval.tried search in internet not successful in finding one.

according documentation, lync binary does not offer feature. however, use lync sdk achieve want writing small helper application (or incorporating relevant code in current application).

according mvp in microsoft forums, not available out-of-the-box.

however, according documentation, powershell script 1 should able trick:

import-module "c:\program files (x86)\microsoft lync\sdk\assemblies\desktop\microsoft.lync.controls.dll"  $availability = [microsoft.lync.controls.contactavailability]::available  $contactinfo = new-object 'system.collections.generic.dictionary[microsoft.lync.model.publishablecontactinformationtype, object]' $contactinfo.add([microsoft.lync.model.publishablecontactinformationtype]::availability,                  $availability)  $ar = $self.beginpublishcontactinformation($contactinfo, $null, $null) $self.endpublishcontactinformation($ar) 

this script requires lync sdk or lync sdk redistributable installed.

much of information has been taken here.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

java - How to create Table using Apache PDFBox -

mpi - Why is MPI_Bsend not returning error even when the buffer is insufficient to accommodate all the messages -