Forum Discussion
Paul McLaughlin
Jul 11, 2017Copper Contributor
Task Scheduler to run PowerShell
Hello I have a windows PowerShell Script that I made to move a folder to anther folder on the same drive. (move-item 'E:\System State Folder' 'E:\Backup Folder') Action : Start a Program, Program/sc...
Maluks
Jul 11, 2017Iron Contributor
you forgot "-file" argument where you set path to your PS script. Please read more here https://blogs.technet.microsoft.com/heyscriptingguy/2012/08/11/weekend-scripter-use-the-windows-task-scheduler-to-run-a-windows-powershell-script/