How to log to Powershell console from Workflow Job How to log to Powershell console from Workflow Job powershell powershell

How to log to Powershell console from Workflow Job


I am sure you have discovered a solution to this by now but you can use:

Write-Output "I will print to the console"

According to MSDN: Write-Output:

Sends the specified objects to the next command in the pipeline. If the command is the last command in the pipeline, the objects are displayed in the console.