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
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
It helped at right time. Thanks a lot!
ReplyDelete