Select Page

Get-CsActiveCalls – Get Lync Mediation server active calls with powershell



This is a simple script you can use to see which server has active calls (mediation).

This uses the Get-CsWindowsService cmdlet to get the RTCMEDSRV values. This can be useful if you need to restart a server.

If you need only one server, you can also use this command :

Get-CsWindowsService -Name RTCMEDSRV | select activitylevel

To launch the function, just write the function name followed by the computername :

Get-CsActiveCalls computer01,computer02,computer03,computer04

This will show you the active calls like in the picture.

A few modifications : powershell seems to keep all values from before, so we just clear the values after showing the object with Clear-Item.

Communication Server versions tested
Office Communication Server 2007
Microsoft Lync Server 2010 OK
Microsoft Lync Server 2013 OK

Here is the script :


NetApp Powershell Manager

Hi there,

Another script I’ve been developping this week : Netapp Powershell Manager. Download here

If you want to launch it from a Windows client, ensure you have the RSAT from Microsoft installed on your computer, and that you are logged as a domain dns admin.

By launching the netappVserverManager.ps1 script, you see the front page as seen on the image from left.

You can choose between Cluster mode or 7-mode, but actually only the cluster mode works (7-mode will come soon).

The program check the version of Windows and let you go further if you’re running Windows 7 or 2008 R2. If not, the progam show an error and end.

If the programm cannot load the dataontap module, it will prompt you for download the powershell toolkit MSI. This will open an IE instance with the link to download the toolkit. Login with your netapp credentials, accept the eula and you’re clear to download the MSI!

After having installed the msi, relaunch the script. From there, you’ll be able to go further to the server connection process.

Enter the server IP or name, the password, and once you are connected, you’ll see the menu as view in the picture from the right.

Actually, the script can only show you some information and (most useful) bulk add dns hosts (A) records into the DNS server.

I’ll come soon with new functions. Don’t hesitate to leave a comment/suggestion.





Fenestrae Faxination Server Bulk User Import on Active Directory – Version 1.0

Fenestrae Bulk

Fenestrae Bulk

Hi all,

I just finished creating a useful script to bulk import Fenestrae Users into Active Directory.

This script only activates the FAX part of fenestrae, I will add the ability to set SMS, MMS and all features on Active Directory soon.

Download here : fenestraeCSV

Lync Server 2010 – Beep before call

Hi all,

As per usual, this is a network issue. You can use Microsoft Network Monitor with port and IP filters to check connexions.

Normally, the issue is the following :

The client is making an outbound call, the call has 3 ways to process and will try the ways as follow :

  1. Internet (Edge) – The call ask the EDGE if someone with the following sip is connected trough him.
  2. PSTN – Your PSTN Gateway
  3. Voicemail – Your UM Exchange server

For any network reason (Switch, Router,Firewall,…), the client can reach the edge, but the edge can’t reach the client. This is causing several beeps before the call really begin.

Hope this helps!