Hi all, i have one question, how i can start an Process… for example an archive in desktop?
Here you have very nice tutorial about PowerShell invoke:
Hi @Pablito thx, but do I really need to create a script to run a simple command?
No. This was just example for PS script. For “oneliners” you can use only
Invoke PowerShell activity.
I think a simple command to archive would be :
Compress-Archive -Path C:\Desktop -DestinationPath C:\Archives\Draft
However in case you want to pass the folder path as an parameter rather than hard coding, you can follow the integration steps mentioned above. You need not read the script from file, you can store it in variable or directly pass it to
Invoke Powershell activity as mentioned by @Pablito .