Tuesday 22 October 2013

Creation of New Client Policy on Lync Server

The client policy can only be set by using the Lync Management Shell and not by the Lync Control Panel. Most of the settings that determine Microsoft Lync 2010 features and functionality are configurable through Microsoft Lync Server 2010 Control Panel. However, there are several essential policies and settings that significantly impact client functionality and that can be configured only by using Group Policy or Lync Server Management Shell.

The following CMDlets are used to manage the client policies:
Get-CsClientPolicy: Get the client policies which are configured, if you do not specify a name all client policies are returned.
Grant-CsClientPolicy: Assigns the policy to a level (Global, Site, Tag). If you do not specify an identity the client policy is applied Global.
New-CsClientPolicy: Creates a new client policy. Among other things, client policies help determine the features of Microsoft Lync 2010 that are made available to users; for example, you might give some users the right to transfer files while denying this right to other users.
Remove-CsClientPolicy: Removes an existing client policy. Among other things, client policies help determine the features of Microsoft Lync 2010 that are available to users; for example, you might give some users the right to transfer files while denying this right to other users.
Set-CsClientPolicy: Modifies the property values of an existing client policy. Among other things, client policies help determine the features of Microsoft Lync 2010 that are available to users; for example, you might give some users the right to transfer files while denying this right to other users.
New-CsClientPolicyEntry: Allows you to assign new options to the client policy.

Information on the settings and applying the policy can be found here: http://technet.microsoft.com/en-us/library/gg398300.aspx 

Open Lync Management Shell
Type New-CsClientPolicy "Test Policy"
Modify the policy with required settings by the below command
Set-CsClientPolicy "Test Policy" -AddressBookAvailability Filedownloadonly -Disablefeedstab $false -EnableExchangeContactSync $false -EnableCallLogAutoArchiving $false -DisableSavingIM $True -DisableCalendarPresence $true -DisableContactCardOrganizationTab $true -DisableEmailComparisonCheck $true -DisableMeetingSubjectAndLocation $true

Saturday 19 October 2013

Count how many users in OCS and Lync


OCS:

(Get-CsUser -OnOfficeCommunicationServer).Count 

Lync:

(Get-CsUser -OnLyncServer).Count

                 (or)

Get-CsUser -OnLyncServer | Measure

Counting Enterprise Voice Enabled Users in Lync:

(Get-CsUser -OnLyncServer -Filter {EnterpriseVoiceEnabled -eq $true}).count

Total number of Lync Enabled Users:

Get-CsUser -Filter {Enabled -eq $true} | Measure

Count the number of users pointing to the Lync Registrar Pool:

Get-CsUser | Where-Object {$_.RegistrarPool -match "Lync Pool FQDN"} | Measure

Thursday 17 October 2013

Extract the Lync user list based on the OU

I got a request to extract the Lync user list based on the Organizational Unit

Below is the script to extract the user list based on the Organization Unit

Get-Csuser | where {$_.identity -match "OUName"} | Select-
Object Identity, DisplayName, SipAddress, ConferencingPolicy,EnterpriseVoiceEnab
led,SamaccountName,ExternalAccessPolicy,DialPlan,PinPolicy | Export-csv -path D:\Lyncusers_OU.csv


Friday 4 October 2013

Extended Support End Date for Exchange 2003 is April 2014

Microsoft Support Life Cycle

Products Released                   Lifecycle Start Date   Mainstream Support End Date                  Extended Support End Date
Exchange Server 2003 Enterprise Edition 9/28/2003 4/14/2009                          4/8/2014                                        5/25/2005
Exchange Server 2003 Service Pack 1 5/25/2004 Not Applicable                 Not Applicable                        1/8/2008
Exchange Server 2003 Service Pack 2 10/19/2005 Review Note                         Review Note
Exchange Server 2003 Standard Edition 9/28/2003 4/14/2009                          4/8/2014                                         5/25/2005