Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

My Information

  • Agent Count
    < 500 Agents

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, thank you for responding. I had noticed I could use a SQL Execute function from within a script in Automate, I guess where I'm falling short is I'm unsure how I could trigger an Automate script to run against a specific computer from an external source such as a PowerShell script. I did see that you can post to cwa/api/v1/Computers/{computerId}/CommandExecute in the API but I was unable to determine any way that I could run an Automate script against an offline computer using commands. Am I barking up the wrong tree entirely? Edit: I somehow overlooked ScheduledScript_PostComputerScheduledScript, now my only issue is figuring out how to format the POST so as to not receive a nondescript unhandled exception, but that is unrelated to the original question.
  2. I'm searching for a way to retire a computer in Automate as part of a larger script we run when a computer is removed from our environment. I assumed I would be able to effect something through the Automate API, but try as I might I couldn't find anything in the documentation that would allow me to do so. I need to be able to retire offline computers, as in most cases when we are retiring a computer in our environment the computer is already in a state where the drive has been pulled and will never contact the network again; however, I do not want to do this through a Monitor that checks for last contact time, as we also have computers that may be offline in remote locations for extended periods of time. From my understanding a computer can be retired by calling sp_DeleteComputer('%computerid%','message'), but our Automate server is hosted remotely and I do not know of any way I could do so. Is what I'm trying to do even possible? Ideas would be appreciated.
  • Create New...