Return specific information for specific users in Skype for Business Online

Lync Server 2013

Topic Last Modified: 2013-07-05

By default, the Get-CsOnlineUser cmdlet returns a huge amount of information for each Skype for Business Online user account. If you are interested in only a subset of that information, pipe the returned data to the Select-Object cmdlet. For example, this command returns all the data for the user Ken Myer, then uses the Select-Object cmdlet to limit the information displayed onscreen to Ken’s Active Directory Domain Services display name and dial plan:

Get-CsOnlineUser -Identity "Ken Myer" | Select-Object DisplayName, DialPlan

The following command returns the display name and dial plan for all your users.

Get-CsOnlineUser | Select-Object DisplayName, DialPlan

To find the properties of a Skype for Business Online user account, use this command:

Get-CsOnlineUser | Get-Member