locked
Execute manually a registeredjob RRS feed

  • Question

  • Hi,

    I have created a scheduledjob on a remote machine and it has been scheduled to run once in 24 hrs. Now I also have to provide a facility to manual run that job. How to run manually scheduledjob remote machine?

    I know this is very basic question but did not find info on google.

    Thanks & Regards,
    Girish

    Friday, September 15, 2017 1:38 PM

All replies

  • help Get-ScheduledJob -Full

    Use Invoke-Command to remotely get the scheduled job.

    $job = Get-ScheduledJob -Name myjob
    $job.Run()


    \_(ツ)_/


    Friday, September 15, 2017 7:54 PM