Friday, 7 June 2013

Upgrading Polycom CX series phones for Lync Server


Step 1: Obtain the latest updates from Microsoft website, Store the .cab file in C:\Polycom
Step 2: Find the web server identity in pool
  • Get-CsService
Step 3: Construct the command in notepad

Import-CsDeviceUpdate -Identity "service:xxxxxxxx" -FileName C:\Polycom\UCUpdates.cab

Step 4: Run it in Lync Server Management Shell

Step 5: Verify import in Lync control panel

Step 6: Approve it after hours.

The Device Update Process

The device update process begins with you downloading an update from the Microsoft website, and then using the Lync Server 2010 Control Panel to test, approve, or reject the update. Approved updates become pending updates that devices retrieve by using the following process.
The first time a user starts an IP phone and signs in, the device gets information by using in-band provisioning from the server. The information contains the internal URL of the server running the Device Update Web service.
If the device is turned on, but no user signs in, and no user has ever signed in on the device, then the device sends a DNS lookup request to ucupdates-r2.<DNSDomainNameProvidedByDHCP>, and obtains the internal URL of the server running the Device Update Web service.
The device checks for updates every time it is turned on, every time the user signs in, and every 24 hours, by default. It checks by sending an HTTP request over port 443 to the Front End Server that hosts the Device Update Web service. The request includes the current version of software that the phone is running, and the response is determined by the device and whether there is a new update on the server to download.



Thursday, 6 June 2013

Lync Edge Server - RSS configuration


One of the note on TechNet ( http://technet.microsoft.com/en-us/library/gg615015(v=ocs.15).aspx) recommends following

To improve the performance of the A/V Conferencing Edge service on your Edge Servers, you should enable receive-side scaling (RSS) on the network adapters on your Edge Servers. RSS enables incoming packets to be handled in parallel by multiple processors on the server. For details, see http://go.microsoft.com/fwlink/p/?LinkId=206013. For information on how to enable RSS, see your network adapter documentation.


Tuesday, 4 June 2013

Monday, 3 June 2013

Network Planning, Monitoring and Troubleshooting with Lync Server



Download Guide from Official Microsoft Download center

Lync Server 2013 is a real-time unified communications application that relies on an optimized network infrastructure to deliver high-quality media sessions. This guide provides a model for managing the network infrastructure for Lync Server 2013—planning, monitoring, and troubleshooting.

Provisioning Guide for Lync-Skype Connectivity


Download Provisioning Guide for Lync-Skype Connectivity from Official Microsoft Download Center.




Wednesday, 29 May 2013

Lync 2010 Client Version Lists



For quick reference, the following table lists the versions, release month, year, and a link to the KB article for all Lync 2010 updates released through March 2013.

Thursday, 2 May 2013

Useful Lync Powershell Commands


While deployment or troubleshooting I always need number of useful powershell commands ( I don't trust my memory ) So I thought I will dump all in here for my reference in future. ( May be useful to someone else as well )


      ·         Enable user for Lync
      Enable-CsUser "Fname Lname" -RegistrarPool "poolname.domain.com" -SipAddressType EmailAddress
      ·         Enable user for Enterprise Voice
      Set-CsUser "Fname Lname" -EnterpriseVoiceEnabled:$True -LineURI "tel:+613xxxxxxxx;ext=xxxx"
      ·         Create Common Area Phone
      New-CsCommonAreaPhone -RegistrarPool "poolname.domain.com" -DisplayName "Warehouse" -OU "OU=Lync,DC=domain,DC=com" -DisplayNumber "+613xxxx xxxx" -LineURI "tel:+613xxxxxxxx;ext=xxxx"
      ·         Assign a PIN
      Set-CsClientPin "Fname Lname" -Pin 2468
      ·         Determine number of users enabled for EV
      (Get-CsUser | Where {$_.EnterpriseVoiceEnabled -eq $True}).Count
      ·         Determine number of common Area phone
      (Get-CsCommonAreaPhone).Count
       
      ·         Set Location Policy
      Set-CsLisSubnet -Subnet 172.17.181.0 -Description "" -Location "Melbourne" -CompanyName "Company Name Here" -HouseNumber "53" -HouseNumberSuffix "" -PreDirectional "" -StreetName "Lync" -StreetSuffix "St" -PostDirectional "" -City "Melbourne" -State "" -PostalCode "4000" -Country "AU"
      ·         If you’ve not been disabling users in Lync while disabling them in AD, here’s a one liner to find those users: ( Thanks to Ehloworld – Blog link )
      Get-CsAdUser | ?{$_.UserAccountControl -match "AccountDisabled" -and $_.Enabled -eq $true} | ft Name,Enabled,SipAddress -auto
      ·         You can get a count of the users using:
      Get-CsAdUser | ?{$_.UserAccountControl -match "AccountDisabled" -and $_.Enabled -eq $true} | Measure-Object
      ·         if you want, can disable them in one line using
      Get-CsAdUser | ?{$_.UserAccountControl -match "AccountDisabled" -and $_.Enabled -eq $true} | Disable-CsUser
        ·         Get list of users with format table
         
        Get-CsUser | Format-Table -wrap -Property DisplayName, SipAddress, Registrarpool, LineUri  >C:\Extensions1.txt