• How to schedule PowerShell jobs

    by  • 2015/02/06 • Tech • 0 Comments

    I’ve seen some bad info on how to do this, so I thought I would put what I know works here…

    In the new Task window put the Program/Script as:
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    Enter this for the command:
    -command & ("{C:\Scripts\scriptname.ps1}")

    There are probably other combinations of characters you can put around the script path that will work, but this one works for me.

    About

    Clint McGuire is a Computer Consultant based out of Vancouver Canada. He specializes in VMware and Storage.

    Leave a Reply

    Your email address will not be published. Required fields are marked *