Skip to content

GetHostSessionInfo changed to GetLiveData #23

@meanturtle

Description

@meanturtle

It looks like in the latest version of Connectwise Control the following endpoint has changed name.

#$Endpoint = 'Services/PageService.ashx/GetHostSessionInfo'

$Endpoint = 'Services/PageService.ashx/GetLiveData'

I have updated the Get-CWCSession.ps1 to see can I get it to work but receiving an error index out of range.

Possibly due to action center in the payload:
[{"HostSessionInfo":{"sessionType":2,"sessionGroupPathParts":["All Machines"],"filter":"","findSessionID":"GUIDKEY","sessionLimit":1000},"ActionCenterInfo":{}},340713519]

Have tried changing
$Body = ConvertTo-Json @($Number,@($Group),$Search,$null,$Limit)

to

$Body = ConvertTo-Json @($Number,@($Group),$Search,$null,$Limit),($null) and different variations but my knowledge of how that works is limited

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions