I have a project to add the name of an action to the registry on a endpoint. The session relevance to obtain the name of the action is straightforward enough:
names of bes actions whose (id of it is 85)
but applying it in a fixlet/task means that it won’t evaluate properly since the local relevance doesn’t understand “bes action”, etc.
I’d like something like this:
regset "
HKEY_LOCAL_MACHINE\SOFTWARE\NEW
" “Name_of_Action”="{names of bes actions whose (id of it is 85)}"
Dang, was hoping there would be an elegant way to get it done.
Unfortunately, the action I want to place in the endpoint registry is not the name of the active action, but rather an action that was applied to that endpoint at an earlier time.
The action ID of the applied action is placed in the endpoint registry already, but I want to have the actual NAME of the action placed in addition to it. So far as I can tell there isn’t a way to place the action name in the registry during the initial run of the task.
something like this would also work for me:
regset "
HKEY_LOCAL_MACHINE\SOFTWARE\TEST
" “NAME”="{name of current running task}"
But I’m pretty certain that ain’t possible either.
I’ll go back and rethink this to see if there is another clever way to get this done. There just has to be a way to write something in the server SQL database to the endpoint ( I would think!)