This topic has not yet been rated - Rate this topic

JobState Enumeration

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Defines the state of the job, such as has the job started, is it running, or has it been stopped. This class is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
'Usage
Dim instance As JobState

public enum JobState
public enum JobState
public enum JobState
Member name Description
Blocked The job is blocked, such as waiting for user input, from running the commands of the pipeline in one or more runspaces. This field is introduced in Windows PowerShell 2.0.
Completed The job has successfully run the commands of the pipeline in all runspaces. This field is introduced in Windows PowerShell 2.0.
Disconnected  
Failed The job was not able to successfully run the commands of the pipeline. This field is introduced in Windows PowerShell 2.0.
NotStarted The job has not begun to run the commands of the pipeline. This field is introduced in Windows PowerShell 2.0.
Running The job is in the process of running the commands of the pipeline. This field is introduced in Windows PowerShell 2.0.
Stopped The job has been canceled on one or more runspace. This field is introduced in Windows PowerShell 2.0.
Stopping  
Suspended  
Suspending  

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)