Can we write to a text file using Invoke Power Shell Activity? If yes, please provide example

Can we write to a text file using Invoke Power Shell Activity? If yes, please provide example

Quick answer is yes,
you can use something like

$hello = "Hello World"
$hello | Out-File c:\debug.txt
4 Likes