ConnectWise Control Software User Forum
»
Default
»
General Information
»
Using Powershell to query offline labtech agents and then use sc to start them
 Rank: Guest Joined: 12/27/2017(UTC) Posts: 1 
|
If I am running a ps script to do this on the sc server, is it possible to communicate directly with sc without using the invoke-restmethod cmdlet?
If so, what are the commands to interface directly with sc?
Also, any basic docs to perform the tasks for this script would be appreciated. I have looked around but nothing seems to cover this area sufficiently for me.
|
|
|
|
 Rank: Guest Joined: 4/16/2018(UTC) Posts: 1  Location: London
|
As far as I know (and I'm doing exactly the same thing, restarting LT agents) - you have to use Invoke-RestMethod as that's how the API works.
|
|
|
|
ConnectWise Control Software User Forum
»
Default
»
General Information
»
Using Powershell to query offline labtech agents and then use sc to start them
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.