Navigation:  Actions > Miscellaneous > PowerShell >

PowerShell Action Input Tab

Previous pageReturn to chapter overviewNext page

This tab of the PowerShell and Batch File actions specifies any console inputs and parameters to pass to the script being run.


Provide standard input from: Specifies a file or string to provide to the program's standard input.  This can be used for programs that read input from standard input when run in an automated fashion.  If none is specified, no input will be sent to the program's standard input.  Otherwise, the contents of the given file or the string entered will be passed to standard input when the program is run.


Parameters: Specifies parameter arguments to pass to the script or batch file.  Within the script, the parameters will be available in the $args variable:


#list all parameters

foreach ($arg in $args)