Task Process - PowerShell

Top  Previous  Next

The PowerShell Task lets you execute PowerShell code on the fly or an existing PowerShell file.

 

clipddd0015

 

Credentials

If your file is on a restricted area/network drive you can use a Credential to access that area temporary. Click on Manage Credentials to add new Credentials.

 

PowerShell file

Full path to a PowerShell script.

 

PowerShell script text

You enter your PowerShell code here which will be compiled and run in real time.

 

Passing back data from PowerShell

 

You can use these PowerShell commands to pass back output to VisualCron:

 

VisualCron standard output

write-output "my output"

 

VisualCron standard error

write-error "my error"