I'm afraid not.
The issue is still under investigation by our dev team. It seems that it is not a trivial fix, so that's why it is taking a bit longer.
Best regards,
Catalin
Code: Select all
$script = $param
. $script
# some PS code before calling a function from the temporary PS script file
callSomeFuncFromScript someParams
This could indeed ba a solution - although I am not sure this is what we are using for the check behind. I can ask the developer on how we do the check for the others and let you know.Perhaps one workaround (or the real solution?) I can use is calling the Get-AuthenticodeSignature before invoking the function. I would imagine that's the same thing AI would do before invoking the inline script - but that could be expensive to do for all inline scripts.
FOLLOW US