Scenario to achieve - “I have downloaded some zip files to dynamically created folders(folder names were taken from an excel) and sub-folders, and now i have to go to the sub-folders and unzip the zip file and delete the original zip file from the respective path.”.
@indrajit.shah you are storing that path in some variable, right? If so, just pass it in code like this for example: “Expand-Archive -LiteralPath ‘“+yourVariable1+”’ -DestinationPath ‘“+yourVariable2+”’”
or you can pass values like any other arguments (you can find that in properties panel).
if you try to use this, please check “isScript” property
please note that I’m using '" and not just " this is because if you have some blank space in your path it will not work with "