Search Engine: Elastic

Article ID: 115882, created on Apr 2, 2013, last review on May 9, 2014

  • Applies to:
  • Operations Automation 5.4


The Provider needs to gather Microsoft Lync 2013 Server usage statistics and prepare the SKU usage for reporting to Microsoft.


This is a routine monthly activity, according to Microsoft SPLA.


Run the following script (attached to this KB) on the Lync provisioning gateway host, and use the output provided.

1.	Locate the attached script file on the provisioning gateway host.
2.	Execute a test SPLA report: 
.\Create-LyncSPLAReport.ps1 -To "<To E-mail address>" -From "<From E-mail address>" -SmtpServer "<SMTP Server>"

The report should contain the following information:
[2/21/2012 10:02:17 AM] Lync SPLA Report 
[6QH-00002] Lync Server Standard (IM/Presence): <count>
[6RH-00002] Lync Server Enterprise (IM/Presence & Conferencing): <count>
[6SH-00002] Lync Server Plus (IM/Presence & Voice): <count>
[6TH-00002] Lync Server Ent Plus (IM/Presence & Conferencing & Voice): <count>
            Disabled: <count>
            Total: <count>

3.	If the script is performed correctly, register a schedule:
schtasks /create /SC MONTHLY /mo LASTDAY /TR "%SystemRoot%\system32\windowspowershell\v1.0\powershell.exe 
-command 'C:\Create-LyncSPLAReport.ps1 <To E-mail address> -From <From E-mail address> 
-SmtpServer <SMTP Server>'" /ST 23:59 /TN "Lync SPLA Report" /M *

This command registers the schedule that performs an SPLA reporting script 
on the last day of every month at 23:59.


ac82ce33439a9c1feec4ff4f2f638899 caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF