Check OCS/Lync enabled AD user with PowerShell

The security is important; working for a huge company sometimes causes problems. You get less right, because of the security. If you a normal user, and you would like to check if one of the user enabled for OCS without Admin rights or Universal Server Administrator right. A normal domain user can check it, because the AD readable for all AD users.

Continue reading “Check OCS/Lync enabled AD user with PowerShell”


Outlook, OCS, Lync user pictures import with PowerShell

The Outlook 2010 and the Lync 2010 has a fancy feature that shows the picture of the users, which stored in the Active Directory. The Exchange 2010 introduces the thumbnailPhoto attribute for the User objects that can contain the photo. There are multiple ways to import pictures into the AD; one of the easiest is the Import-RecipientDataProperty Exchange commandlet, but what can we do if we have not installed the Exchange 2010? There are several 3rd party applications available for picture uploading, but if I need to do something more than twice, I automate it. In this reason I chose a PowerShell script, which easily schedulable. In my previous article I wrote about the picture modification. That was the prerequisite of the user pictures that stored into the Active Directory. It is easy to import and export pictures with PowerShell.
Continue reading “Outlook, OCS, Lync user pictures import with PowerShell”

OCS federation issue and troubleshooting with self-signed certificate

The federation needs an external trusted certificate, to allow access from everywhere. What can we do if we would like to federate only one company, and we need to cut the project cost? The solution is the self-signed certificate. How it works? Let me explain.

Continue reading “OCS federation issue and troubleshooting with self-signed certificate”

How to configure Ekiga to connect to Asterisk on Ubuntu Desktop

In my previous article I used X-Lite 4 to connect to Asterisk. One of my commenter asked me to help installing X-Lite on Ubuntu. I started to investigate the problem, and I faced with an interesting problem: the X-Lite installer available on Macintosh and Windows platforms only. So I useed Ekiga Softphone on Linux systems. If you interested in a step by step guide for Ekiga installation and configuration with Asterisk, then press More below.

Continue reading “How to configure Ekiga to connect to Asterisk on Ubuntu Desktop”

How to connect to OCS 2007 R2 Server via Lync 2010

There are huge differences between OCS 2007 R2 Server and Lync 2010 Server of course. The client of the communicator server changed also, so Microsoft Office Communicator 2007 changed to Lync 2010. Although connecting to OCS 2007 R2 via Lync 2010 not allowed, with a little trick, we can do that.

Be careful, only the OCS 2007 R2 features availabe on the Lync 2010!

We need to add a registry key on the user machine under the HKCU \Software\Policies\Microsoft\Communicator, named DisableServerCheck DWORD, and add as 1 as value.

Here is my exported key, you can copy-paste to a .REG file to simply import it.

Windows Registry Editor Version 5.00



That’s all folks.

Enable multiple Lync Server 2010 users using PowerShell

The Lync Server 2010 (LS) has a few new interfaces, and one of them is the Lync Server Management Shell. This is a Windows PowerShell based shell, with more than 530 Lync related commands. Each command contains “-Cs” characters, as “Communications server”, so commands are easy to list. Simply type the Get-Command *-cs*.

Get-Command *-cs*

What can we do if we need to enable a huge number of new Lync users? The answer is the automatization, let me show you my Enable-multipleLSusers script!
Continue reading “Enable multiple Lync Server 2010 users using PowerShell”

How to install Asterisk 1.8.4 on Debian 6.0.1

In my previous post I installed Asterisk on Ubuntu Server. In this post I install Asterisk 1.8.4 on Debian 6.0.1 “squeeze”.
I created a step by step guide to prevent you from the usually error messages during the installation.

Continue reading “How to install Asterisk 1.8.4 on Debian 6.0.1”