Lync Server administrative interface - automation

The task I am looking at is to automate the process of creating new users on a Lync 2010 server. Looking at the Lync Server SDK, this only allows creating new phone calls and sending IM. I'm looking for an interface to automate administrative task.
What I don't want to do in first place is to parse the web interface. Does anyone know of anything that might help?

There is a certain number of PowerShell cmdlets I wasnt aware of. The complete list can be found in the Documentation.
I don't find the good step-by-step guide I once came across, but there are several others out there that descript how you connect your PowerShell to the Lync Server (like this).
I haven't tested any of these scripts, but Microsoft also provides a list of useful scripts to administrate Lync (link).
The problem I was initially looking for was: How do I hide disabled user accounts in the Lync Contact list. This can be done by ticking the checkbox "Hide user from global address list" in Exchange (Note: when this is done via e.g. VBScript it takes some time before the GAL is updated, in my case the account first vanished from GAL and the next morning it also disappeared from the Lync Contact List).

Related

MS outlook Work Using JAVA

I have an Idea of integrating our own company Tool with MS outlook,
Our company tool is Incident or Service Request tool .We communicate with User using the Service Number generated in THe tool(This servce Number is generated when A Client Logs the Problem in our tool) with MS outlook,
However I just know JAVA and not C#(So I am Comfortable in JAVA programming).
Is there any way That I can write code which can search the Outlook Files in my inbox, Based on some search Criteria, and display it back .
Any help is appreciated :)
Thaks rajesh
The Following might help: https://stackoverflow.com/a/5285691/119179
Shows how to read an inbox with the java mail API which is independent of Outlook.

Return Lync presence with VB.net

I am working on a solution to a problem at work where we can't tell if someone is on the phone or just sitting there. We use Microsoft Lync to place our calls and I was hoping to be able to add a bit of code to an existing .net application to show the presence of the person logged into the machine. That info will send that out via USB to an indicator light I previously built.
So basically I am trying to create a .net version of those 'ON AIR' lights you see at radio stations.
I have been searching for the last few days and haven't found a solution. I also downloaded the Microsoft Lync Controls SDK, but no luck with that either.
The following site provides a couple of ways of getting the user availability: http://rcosic.wordpress.com/2011/11/17/availability-presence-in-lync-client/
You may also be interested in the BusyLight if you still haven't implemented this solution. It's a USB light which shows your presence, as you describe.
There's a video demo of it in action here.

outlook security in asp.net webpage

I used http://www.everythingaccess.com/tutorials.asp?ID=Outlook-Send-E-mail-Without-Security-Warning , to finish my first ms access vba app that sends multiple notifications via outlook, without security pop-up. Now I want to make a WEB BASED version of it. So, using asp.net & mysql instead of vba & access raises certain questions.
When I comes down to it, what would be the difference of using (will post link below) vs installing VSTO runtime to run the outlook module I allready used in my first link?
Would you consider the "add-in" a more robust, integrated, easy approach since it seems I'd otherwise need to put the module of my first link in each users outlook install or am I just completely mistaken or is it a combination of both, please explain...
Click below for
2nd link of first post , outlook addin

GetUserAvailability from Exchange from a COM Outlook addin

I have a COM Outlook addin programmed in C++ (VS2005). I'm trying to see if within this addin I can get a random user or resource and see if it is available during a certain meeting time. Basically I'm trying to do something like getuseravailability() from the 2007 Exchange Web Service api listed below.
getuseravailability
Is this the only way to get this information? I've been looking through CDO, ADSI, MAPI and the Outlook object model but can't find anything else like it. I'm avoiding using web services because the Exchange Servers I run against may not have it enabled/ may not be Exchange 2007. And also, I'm hoping for a COM api easily integrated with the existing Outlook COM addin, was really hoping for an OOM solution.
Am I wrong or would the webservices sdk require .net to be installed on the machine running the addin as well?
I believe I've found a way to do this with CDO. Will be trying a sample app for this to see if it does what I think it does.
http://msdn.microsoft.com/en-us/library/ms870482%28EXCHG.65%29.aspx
I didn't find this earlier because the MSDN library's default view doesn't easily let you browse through the table of contents for a section. You have to go into MSDNs preferences and choose "Classic View" to get the table of contents view on the left.

Is it possible to develop a chat plugin like Gtalk for outlook?

My company uses outlook as the email client and we login to an exchange server. Out address book (not individual contacts) has all the users connected to our company network.
Our company dont have IM ;-( .. I am thinking about developing an outlook plugin like Gmail's Gtalk . is this possible(technically)? Or how difficult it is? Will I be able to get the list of all users (from address book) who have opened their outlook so that I can show them in the online list?
Can I do this without a DB (just sent the message to the recepient and show them)?
Outlook development is new for me and the links in this question did not help me much (very confusing). Where can I get some basic tutorials to begin with?
Edit: I have worked with VBA in outlook. So if the above can achieved using VBA the it would be great ;-) Is that possible?
VBA is an old method of building Office plug-ins and has since been replaced with just a more straight forward VB/C# module coding method. VBA plugins from Office 2003 should work alright in Office 2007, but it's no longer the suggested method if you're looking at Office 2007 + 1.
If you're using Visual Studio 2005, look for information on the Visual Studio Tools for Office (VSTO) Second Edition add-on on MSDN. If you're on Visual Studio 2008, the VSTO packages should come with the Professional editions (or higher) by default. It'll have all the templates for building add-ons for the Office suite. Going with this new direction of coding add-ons, anything should be possible.
I've personally never tried to make any sort of server/client solution, so I'm not helpful on that front, but I thought I'd put that information out there for you to consider in your planning stage of making the chat solution.
As a note, the non-individual (Exchange) address book is also known as the Global Address List (GAL).
Outlook 2010 includes instant messaging:
Use instant messaging services with Outlook
Microsoft Outlook can be used with several instant messaging services.
You can tell if your contacts are available for a real-time online
chat, audio and video conferencing, or file sharing.
Note Online status is available for any person whose instant
messaging e-mail address that you have added to your instant messaging
contact list. In addition, online status is shown for people using
Microsoft Office Communicator, regardless of whether they are on your
instant messaging contact list.