Im trying to create a task where a powershell script is embedded with an action script. Purpose of the powershell script is to obtain data and write it a file named “results.txt”. What I want the action script to do is:
- check if “results.txt” exists and if it does then to delete it
- run the powershell script
anyone has a template or action script code that they can share to assist with this request.
Thank you!