I'm trying the following:
define a global variable, e.g. "7zip"
create a PowerShell "before updating" global command: "$7zip = $GlobalVars.'7zip'.CachedContent"
then try using this in a PowerShell command "after downloading": $7zip x c:\temp\test.zip
This is not working, it seems that $7zip is not defined when "after downloading" script is executed.
Any ideas how to solve that? Putting "$7zip = $GlobalVars.'7zip'.CachedContent" within the "after download" section works but then I'd have to put it in every application which I want to avoid...