-
Notifications
You must be signed in to change notification settings - Fork 39
Description
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