Is there a variable to pull the current script name & folder path that it resides in?
I am sending an email on completion of a job, would be nice to include that so that can assist a user who may have a question or request a rerun.
I tried $UAScript - but that did not return anything and the $UAJob did not seem to have a name property.
Product: PowerShell Universal
Version: 5.0.0 RC5 & 4.3.3