exports SFB users list

Frequent Contributor

Hi experts i want to pull all my users for whom skype for business is enabled. i want to export to a csv.
please help me with syntax
Display Name.
SipAddress
HostingProvider   
RegistrarPool 

1 Reply

For On-Premises something like this

Get-CsUser | Select-Object DisplayName, SipAddress, HostingProvider, RegistrarPool | Export-Csv -Path "C:\temp\CsUserExport.csv" -NoTypeInformation

 

And for Skype Online

Get-CsOnlineUser | Select-Object DisplayName, SipAddress, HostingProvider, RegistrarPool | Export-Csv -Path "C:\temp\CsUserExport.csv" -NoTypeInformation