When using Task Scheduler, I would think I need to somehow "call" PowerShell
I am on the "New Action" portion of the "Create Task" and I am unsure of what to put in. Do I enter the path to my .ps1 file and Windows knows to run it with PowerShell?
Here is my script:
Code: Select all
Get-VBRJob | where {$_.Name –eq “Server1”} | Start-VBRJob -FullBackup
Code: Select all
Add-PSSnapin VeeamPSSnapIn
Once I get this figured out, I can turn this into a "FAQ" post that will go over the basics of getting started with Task Scheduler.
Thanks!