The TaskCentre Run External Program tool can be used to run PowerShell scripts. The image below shows command line parameters for running such a script
The example above is a V2 PowerShell script.
With PowerShell V1 the –executionpolicy, remotesigned and sta arguments will not work. You will need to run PowerShell and run ‘set-execution policy remotesigned’ before this will work. To see the security implications of setting the execution policy see the PowerShell help (help set-executionpolicy).
To find out if you are running V1 or V2 the copyright message when you start up a PowerShell prompt will say (c)2006 for V1 or (c)2009 for V2.