PowerShell-Docs
PowerShell-Docs copied to clipboard
How to Support Jobs - What creates a child job
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.
- ID: 98c13d87-511f-c9f3-ded2-4d546570bad8
- Version Independent ID: ddfef008-6b0f-6d6b-64f5-e0319fb728c0
- Content: How to Support Jobs - PowerShell
- Content Source: reference/docs-conceptual/developer/cmdlet/how-to-support-jobs.md
- Product: powershell
- Technology: powershell-conceptual
- GitHub Login: @joeyaiello
- Microsoft Alias: jaiello