How to get output from a PowerShell Activity
Hi, the documentation for the PSA states the following:
Do not use Write-Host, but rather use Write-Output instead if you want the output to be captured in the activity
Where is this output sent to en how can I read it ?
Stephane
Best Answer
-
Justin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
@Stephane_Bouillon - The output will show up on the output tab of the PSA in the console.
Here is a custom solution for viewing PSAs in the portal. If you use the included custom PSA form definition the output property will be available in the portal as well.
5
Answers
@Stephane_Bouillon - The output will show up on the output tab of the PSA in the console.
Here is a custom solution for viewing PSAs in the portal. If you use the included custom PSA form definition the output property will be available in the portal as well.
Thanks for your time and effort Justin, console is fine for my scenario