Search Engine: Elastic

Article ID: 113552, created on Mar 26, 2012, last review on May 6, 2014

  • Applies to:
  • Operations Automation 5.4


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


This is a routine monthly activity, according 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 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF