Does anyone know if there are any environmental variables exposed when defining a new Dashboard Action?
I’ve created some scripts to allow end users to restart Services in specific instances when they are experiencing problems.
The scripts create a log file but as they run in the context of the SCOM Agent it’s not currently possible to know who triggered the request to restart a Service.
What i’d really like is the option to pass the current user in as a parameter from the Dashboard Action configuration, but I have no idea if this sort of information is exposed in this way.
Grateful for any feedback people might be able to give.