Get-LyncLogins
Get a list of the last X number of logins for a user
Syntax
Get-LyncLogins.ps1 [-UserUri] <String> [-Last <Int32>] [<CommonParameters>]
Parameters
Name | Description | Required? | Pipeline Input? | Default Value |
---|---|---|---|---|
UserUri | The SIP address of the user to return logins for | true | false | |
Last | Number of last logins to return | false | false | 10 |
Return Values
For each login, there’s a DataRow with the following properties:
RegisterTime, DeRegisterTime, DeRegisterReason, ClientVersion, ResponseCode,
Registrar, Pool, EdgeServer, MacAddress, Manufacturer, HardwareVersion
If the monitoring server is 2013, there’s also an IpAddress property
Notes
Version 1.0.0 (2015-02-22)
Written by Paul Vaillant
Examples
EXAMPLE 1
Get-LyncLogins.ps1 -UserUri john.doe@example.com
Get the last 10 logins for john.doe@example.com