I would like to know whether it is possible to run a Health Check on a Single deployment target using powershell and the REST API.
I know how to run a Health Check to an Environment or a machine in an Environment but the problem is that we could have 100+ targets in 1 environment and I dont want to run a Health Check to all machines.
Basically, I just need to do the exactly what you would do in the UI by selecting the deployment target and going to connectivity and running the health check.
I would like to add that I am using Octopus 3.0.23.
I am sorry if this question has been asked before but I couldn’t find anything relevant.
I must admit I was a bit lazy back then, and I should have made the script so the user could find the machine by Name instead of an un-intuitive ID. I’ve updated the script in the Github project to look just like yours