Forum Discussion

Paul McLaughlin's avatar
Paul McLaughlin
Copper Contributor
Jul 11, 2017

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/script: PowerShell, Add arguments: -ExecutionPolicy Bypass, Start in: C:\Users\Administrator\Desktop\Test.ps1

PowerShell opens but the folders do not move.

Resources