Monday 24 August 2020

Setting a PowerShell Scrip to run as a Task

 use:

Powershell.exe  -ExecutionPolicy Bypass -File "<FILE LOCATION>"


for the Task and set it to run with highest privileges and while logged off to without saving the password (Unless it access the network).  

No comments:

Post a Comment