Automation

 View Only
  • 1.  Background Tasks using -RunAsync vs. Start-Job

    Posted Apr 23, 2019 04:32 PM

    Am I right in saying that when using the -RunAsync switch there is no option to give the resulting task a specific name?

    With Start-Job you can give the task a "friendly" name, I'm guessing with -RunAsync you cannot.



  • 2.  RE: Background Tasks using -RunAsync vs. Start-Job

    Posted Apr 23, 2019 04:55 PM

    That is correct.

    But be aware of the difference.
    A RunAsync job is a task that returns in the background on your vSphere server.
    A Start-Job job runs on your station, and may make calls to the vSphere server of course.