Return data
We need to collect some registry data, like Teamviewer IDs etc, from computers via a script.
Is there a way to push data back to an OptiTune Metadata userdefined field for each computer?
Is there a way to push data back to an OptiTune Metadata userdefined field for each computer?
Comments
For now, you would have to collect this data with powershell, and push it back to your own simple web service to process it (e.g. make an HTTP POST to a service you control).
Scripts could just write to local registry. Then you could make OTService.exe check for changes to HKLM\Software\Wow6432\Bravura\Optitune\Fields\<user defined field name> and put it into the corresponding field for the computer on the website. The possibilities would be endless.
Making dynamic groups being able to filter on user defined fields would then of course be the next request...
OTService.exe /updatemeta "varname" "value"
And this would update the metadata variable on the server for the given computer. Also, we may be able to define rules for metadata variables, such as, for variable X, get the value of HKLM\Software\Foobar [valuename] and store it there.
The groups are already dynamic, but need to use static data such as computer name, domain name, os version, etc..., but that is another great suggestion!
https://manage.opti-tune.com/swagger/ui/index#/ComputerMetadata