How to Use Invoke Power Shell Activitiy?

I would like to Open specific MS Word file by Invoke Power Shell Activity in StudioX.
Power Shell Command is such as : Invoke-Item “C:\A.docx”
I try to run this Power Shell command but it’s cause error
image
=> This Power Shell command is work!


=> but This Invoke Power Shell Activity occurs error!

Why occurs error? so then, How to use Invoke Power Shell Activity?
Please Let me know, Thanks :slight_smile:

@rosshild21

Please open advanced wditor and give the command like below and check

"invoke-item ""C:\A.docx"""

Also when we give parameters we pass using parameters option

So in command give invoke-item and open parameters and add the file parameter…to know the parameters name check in power shell

Cheers

I tried to your way but, It’s occurs same error…

@rosshild21

did you check the link?

cheers