Get-LyncUser cmdlet gets Active Directory users with enabled Lync service.

Input parameters

#
Parameter
Type

Mandatory (R/O)

Description
Valid Values
1 Authentication Information (all parameters)  
2

Identity

(aliases: GUID, DistinguishedName)

string O A property, that is used for managing the user

Value of one of these parameters  can be used as Identity:

#ParameterDescription
1 GUID Globally Unique Identifier (ObjectGuid)
2 DistinguishedName Unique name of the object in Active Directory
3 ResultSize int O This parameter specifies the maximum number of results to return  

Output parameters

#ParameterTypeDescription
1 DistinguishedName string Unique name of the object (user) in Active Directory
2 GUID string

Globally Unique Identifier (ObjectGuid)

3 License LyncLicense Type of the license
4 OriginatingServer string

Address of the server (domain name), where the object physically exists.

Examples of using Get-LyncUser cmdlet

Getting account's users with enabled Lync service:

Get-LyncUser

Getting Lync user by GUID:

Get-LyncUser -Identity "00DA4DAC-069F-41C6-864F-2C9043DB3F1C"