Thanks very much for prompt reply @paul.calvert!
Let me give you some background to explain it
I have to deal with very strict policies in the company where I work i.e. I am not able to run the PowerShell remote session, I am not able to logon directly to Production host etc.
I have to use additional tool to execute the PowerShell script remotely. The problem is that I cannot provide any additional parameters to the script i.e. all parameters like port number, home directory must be the hard-coded in the script. The creation of an instance is not an issue, as we want to have the same setting applied everywhere.
Only the registration of Tentacle cause some problems, as we have different roles, environments and so on. Adding new Tentacles via portal is a long process, if you have to add >30 VMs at once.
I’d like to use the mentioned script to register new Tentacles via API. I noticed that adding new Tentacles via portal does not require providing Tentacle Thumbprint. I am planning to modify the script by adding ‘/api/machines/discover’ functionality to simplify the process of adding new Tentacles.
though that maybe someone has done it already
and sorry for my English, I am not native speaker as you probably noticed