PowerShell-Docs icon indicating copy to clipboard operation
PowerShell-Docs copied to clipboard

How to Support Jobs - What creates a child job

Open juvtib opened this issue 4 years ago • 0 comments

What creates a child job?

Does the SDK automatically create a child job for each Job object?

If the work is performed as a job, add child job to the job.

job.ChildJobs[0].Output.Add(new PSObject(pl));

Add() is a method for PSDataCollection.

Output is a property of Job.

ChildJobs is a property of Job.

List of child jobs contained within this job.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

juvtib avatar Mar 07 '21 09:03 juvtib