Windows XP
Action Type : Run Script
Script Content : Your PS Script.
Script file extention : .ps1 (NOTE:You just type this in.)
Path to script Engine : ${WINSYSDIR}\WindowsPowerShell\v1.0\Powershell.exe
Script Engine Parameters: /c -executionPolicy unrestricted
-file
Or
Windows 7
Action Type : Run Script
Script Content : Your PS Script.
Script file extention : .ps1 (NOTE:You just type this in.)
Path to script Engine : %comspec%
Script Engine Parameters: /c C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe -executionpolicy unrestricted
(NOTE : Script Engine Parameters MUST HAVE a space at the end.)