Dear all,
I would like to create a new workflow to assig local admin right to users that make a request to CSD but I'm stuck finding a way to trap the error of the script.
function PreExecuting($workflow, $activity){
$tn = $activity.Runtime.Controls…