Forum Discussion
Report or Count of Every Phone Number Active in Skype
there are a few ways to get this from powershell.
There are a few places that numbers are stored
you can export these to csv with | export-csv c:\logs\users.csv
so with PS you could do something like this
Get-CsUser | Select-Object -Property DisplayName,SipAddress,LineURI,PrivateLine | export-csv c:\logs\users.csv
Get-CsAnalogDevice | Select-Object -Property DisplayName,SipAddress,LineURI | export-csv c:\logs\analogdevices.csv
Get-CsCommonAreaPhone | Select-Object -Property DisplayName,SipAddress,LineURI
Get-CsExUmContact | Select-Object -Property DisplayName,SipAddress,LineURI
Get-CsDialInConferencingAccessNumber | Select-Object -Property DisplayName,PrimaryUri,LineURI
Get-CsTrustedApplicationEndpoint | Select-Object -Property DisplayName,SipAddress,LineURI
Get-CsRgsWorkflow | Select-Object -Property Name,PrimaryUri,LineURI
Get-CsMeetingRoom | Select-Object -Property Identity,SipAddress,LineURI
- Apr 17, 2018
There are some pre-written scripts too if you look in the gallery: https://gallery.technet.microsoft.com/Lync-Get-All-Assigned-8c1328a0
Some are nice, export to Excel, other HTML, easy to hack up and make it do what you want.
- John HavertyApr 17, 2018Iron Contributor
Adam Berns and Anthony Caragol, thank you! That is great information! I neglected to come back in and update the post that I did find some reports within the system that helped. I will check out the PowerShell scripts and reports. Those look great!
John