Job Class
Serves as a base class for objects that represents a background job. A background job runs a command that can contain a command or expression. The job is run asynchronously within its own runspace. This class is introduced in Windows PowerShell 2.0.
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
System.Management.Automation Namespace
ChildJobs
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
The command run by the job can contain cmdlets, functions, scripts, or any other command-based tasks. It is designed to run commands that take an extended amount of time to complete, but it can run any command in the background.
Jobs are executed within their own runspaces, and those runspaces can exist on the local computer or any number of remote computers. See the ChildJobs property for more information about jobs that run on multiple runspaces.
System.Object
System.Management.Automation.Job
System.Management.Automation.Job2
System.Management.Automation.PSEventJob
System.Management.Automation.Job
System.Management.Automation.Job2
System.Management.Automation.PSEventJob
Any public static (
Shared
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Target Platforms
Windows Developer Preview, Windows Server Developer PreviewReference
Job MembersSystem.Management.Automation Namespace
ChildJobs
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.