Today’s cmdlet: Get-CsUserSession

 

Today, we plunge into the exciting, thrill-a-moment world of Skype for Business.

Note that to use this cmdlet, you must have installed the Skype for Business PowerShell Module.

Unlike some of the cmdlets I’ve presented to-date, this one is pretty straightforward.

What it’s for: Getting information about a Skype for Business user’s session data for a specified time range

How to use it: For example…

Get-CsUserSession –User user.name@yourdomain.com -StartTime “01/01/2017 00:00:00 AM”

Returned results will be like this (with values populated that apply to the queried user):

RunspaceId
DialogId
ReplacesDialogId
StartTime
EndTime
FromUri
ToUri
FromClientVersion
ToClientVersion
FromTelNumber
ToTelNumber
ToEndpointId
FromEndpointId
ConferenceUrl
ConfInstance
OnBehalfOfUri
ReferredByUri
ResponseCode
MediaTypesDescription
ErrorReports
QoEReport

 

 

Accompanying Martini: The Cheap Detective

2 ounces St. Germain
1 ounce Cynar
3/4 ounce Campari
Grapefruit wedge

Stir with ice and strain into a coupe.

Garnish with a grapefruit wedge