I have a Pscript for clearing and repopulating a Sharepoint 2010 list. It works fine when run manually. I set it to run as a scheduled task, and the history shows it as running successfully, but the content of the list doesn't appear to change. At least, the Modified Date for the list doesn't change.
Here's the command:
powershell –file "C:\Pscripts\MyScript.ps1