List of users
Get-CsUser | select-object SipAddress,LineUri,EnterpriseVoiceEnabled ..etc
List all users who are Enterprise Voice Enabled, and have a Dial Plan of Calgary
Get-CsUser -Filter {EnterpriseVoiceEnabled -eq $True} | where {$_.DialPlan -match "Calgary"}
List all users with phone number where their AD telephone number contains xxx
Get-CsAduser -Filter {Phone -like "*xxxx"} | select-object DisplayName,Phone
Count Enterprise Voice Users with a Phone Number
(get-csuser -OnLyncServer -Filter {EnterpriseVoiceEnabled -eq $true} | Where-Object {$_.LineURI –match "tel:+"} ).count
Export a List of Enterprise Voice Users
get-csuser -Filter {EnterpriseVoiceEnabled -eq $true} | export-csv evenabled.csv
Get-CsUser | select-object SipAddress,LineUri,EnterpriseVoiceEnabled ..etc
List all users who are Enterprise Voice Enabled, and have a Dial Plan of Calgary
Get-CsUser -Filter {EnterpriseVoiceEnabled -eq $True} | where {$_.DialPlan -match "Calgary"}
List all users with phone number where their AD telephone number contains xxx
Get-CsAduser -Filter {Phone -like "*xxxx"} | select-object DisplayName,Phone
Count Enterprise Voice Users with a Phone Number
(get-csuser -OnLyncServer -Filter {EnterpriseVoiceEnabled -eq $true} | Where-Object {$_.LineURI –match "tel:+"} ).count
Export a List of Enterprise Voice Users
get-csuser -Filter {EnterpriseVoiceEnabled -eq $true} | export-csv evenabled.csv
Hi,
ReplyDeleteI have list of email addresses - which is defrent that the upn. how to enable them to lync
This comment has been removed by the author.
Deleteget-csaduser -filter {windowsemailaddress -like ‘*@domain.com’} | Enable-CsUser -RegistrarPool “PoolServer.domain.com” -SipAddressType EmailAddress
ReplyDeleteYou can modify the above command and try.