gavsto / AutomateAPI

Powershell Module for the ConnectWise Automate API
GNU General Public License v3.0
84 stars 48 forks source link

Issue in Get-ControlSessions #50

Closed jonny190 closed 3 years ago

jonny190 commented 3 years ago

`PS C:\WINDOWS\system32> Get-AutomateComputer -ComputerId 13126 | Get-ControlSessions Get-ControlSessions : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input. At line:1 char:42

Index operation failed; the array index evaluated to null. At C:\Program Files\WindowsPowerShell\Modules\AutomateAPI\1.1.3\Public\Get-ControlSessions.ps1:99 char:25

DarrenWhite99 commented 3 years ago

This should have been addressed in the recent large commit. Please download the latest master and verify.

Linking to #53 so this issue can be closed when the pull is finalized.