Topic Last Modified: 2013-07-05

By default, the Get-CsOnlineUser cmdlet returns a huge amount of information for each Lync 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:

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

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

Copy Code
Get-CsOnlineUser | Select-Object DisplayName, DialPlan

To find the properties of a Lync Online user account, use this command:

Copy Code
Get-CsOnlineUser | Get-Member

See Also