Lync

All posts tagged Lync

SefaUtil GUI v2

With pleasure I present you SefaUtil GUI v2. First thanks to all the beta tester which provided a lot of good feedback which has been incorporated in the tool.

SefaUtil v2

So know you probably want to know what has improved?

SQL querying

Well several things have been improved but most improved piece is retrieving the current settings. As you may know Sefautil signs in for every action which you executie: both query and change. Greig Sheridan (@greiginsydney) pointer me to the script of James Cussen which contained soms SQL to query certain databases for Lync. Based on that script I started the research on how I could user those scripts in SefaUtil GUI. It took soms time but in this version querying the setting for a user is performed by using SQL queries. This speeds up the process amazingly. Changing settings is still performed by invoking SefaUtil.exe

Pool switching

The GUI now contains an option to switch from pools. So if you have multiple pools you can now easily switch by using the GUI. This will safe you time because you now don’t have to reload the tool. In addition to this the user list now only contains the users homed on that pool. The delegates list still is the long list which contains all Enterprise Voice enabled users.

Backup and recovery

An option has been introduced to backup & recovery your SefaUtil settings.  Please test this functionality yourself before using it in production. As far as I have tested I it worked good for me but I strongly encourage you to test it in a lab environment prior to restoring settings in production.

Skype for Business support

Skype for Business is available for a while so I added support for this also. Keep in mind this will user a different version of SefaUtil.exe compared to the one for Lync 2013.

Parameters

Additional parameters have been added most on request:

  • SfB2015: Could be used to overwrite the default location of SefaUtil for Skype for Business Server 2015
  • Groupiddigits: Could be used to overwrite amount of digits used for team calls incl. # if used, default value is 3
  • Loaddata: Can be used to prevent to automatically load data

Besides this a lot of code optimization has been performed and several bugs have been fixed.

As with all software despite the heavy testing you might find an issue. If so please let me know so I can assist you with troubleshooting the issue and make code changes if necessary so other people can benefit from it.

SefaUtil GUI V2 van be downloaded via the link below:

SefaUtil GUI

If you have worked with Lync Enterprise voice then you have probably used Sefautil (secondary extension feature activation). A cmdline tool which allows you to configure several settings related to enterprise voice for example:

  • call forward
  • simultaneous ringing
  • call pickup (only Lync 2013)

A cmdline works OK but because you forget the parameters which you can use it maybe hard sometimes. To make this a lot easier I developed a wrapper around the tool: SefaUtil GUI.

SefaUtil GUI

The tool is based on a Powershell script and allows you to configure the same functionalities as the cmdline tool does only then via a GUI. The tool contains two tabs. The first tab Main contains all the functions. On the second tab Info you can find some diagnostic info such as the Lync Server version, the directory where Sefautil is located and logging information. The logging which is created can be exported by pressing a button so you can review what has changed.

Installation

The script needs to be placed on a machine where the Sefautil tool is installed. A detailed description of how to install Sefautil can be found on this page: Deploy the SEFAUtil tool.

Besides the tool you will need to install the Lync Core components.

In some cases it is necessary to change the executionpolicy for the script, more info can be found on this page: Using the Set-ExecutionPolicy Cmdlet.

You can start the tool like this: start-sefautil -pool poolfqdn

Download

Automate OWA IM Integration configuration – update 2

It’s time for another update for the prepare_owa_im script, this update is pretty big compared to the earlier update. Starting with this version it’s possible to configure both OWA and Lync using the script. There is one limitation: it’s not possible to enable the new topology.

The cause of this limitation is that this is not allowed when remotely connected to the Lync Front End Server. The remote connection will allow almost everything except running the enable-CsTopology cmdlet. This cmdlet is required to enable the new topology.

So don’t forget to execute the enable-CsTopology cmdlet manually when you ran the script.

At this moment the script will need to be execute on every CAS server which needs the IM integration. In a future update this will change.

If you have any feature requests please let me know so I can add them to a future release of the script.

Caution: this script may need to change the ExecutionPolicy settings temporary

prepare_owa_im script versie 1.2 download

Automate OWA IM Integration configuration – update

One of the options which was missing in the first edition of the script was to check if a certificate is self-signed or not. By default a self-signed certificate is installed on an Exchange CAS Server. The problem with this kind of certificates is that other servers won’t trust it.

If this is the case there are two options:

  • import the self-signed certificate on the other servers, in this case the Lync Front End;
  • install a valid certificate;

The first option is not  really the way you want to solve it but sometimes you don’t have another option.

Below the changes which have been made in the script:

  • check if a self-signed certificate is installed;
  • option to export the self-signed certificate;

If you got any tips or suggestions please leave a comment.

download prepare_owa_im.ps1 v1.1

Automate OWA IM Integration configuration

Since the release of Exchange 2010 Service Pack 1 the steps for configuring OCS/Lync IM integration for OWA has changed.

To simplify this proces I created a script which performs the following tasks:

  • check if the correct software and patches are installed;
  • configure the OWA virtual directory;
  • restart IIS;

The script will need to be executed from the CAS server and does only work for Exchange 2010 SP1. Besides the Exchange part don’t forget to configure the OCS/Lync side.

download prepare_owa_im.ps1 v1.0