Thursday, March 22, 2012

User count in Lync using Powershell

To get the number of users enable for lync run the below command

Get-CsUser -OnLyncServer | Measeure

OR

(Get-CsUser -OnLyncServer).count

To get the list of enterprise voice enabled users run below commands

get-csuser -Filter {EnterpriseVoiceEnabled -eq $true}

For count

get-csuser -Filter {EnterpriseVoiceEnabled -eq $true} | Measure

1 comment: