Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WaitJobCommand Class

The Wait-Job cmdlet class that is implemented by Windows PowerShell. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.This class is introduced in Windows PowerShell 2.0.


Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As WaitJobCommand

[CmdletAttribute("Wait", "Job", DefaultParameterSetName="SessionIdParameterSet", HelpUri="http://go.microsoft.com/fwlink/?LinkID=113422")] 
[OutputTypeAttribute(System.Compiler.TypeNode[])] 
public class WaitJobCommand : JobCmdletBase, IDisposable
/** @attribute CmdletAttribute("Wait", "Job", DefaultParameterSetName="SessionIdParameterSet", HelpUri="http://go.microsoft.com/fwlink/?LinkID=113422") */ 
/** @attribute OutputTypeAttribute(System.Compiler.TypeNode[]) */ 
public class WaitJobCommand extends JobCmdletBase implements IDisposable
CmdletAttribute("Wait", "Job", DefaultParameterSetName="SessionIdParameterSet", HelpUri="http://go.microsoft.com/fwlink/?LinkID=113422") 
OutputTypeAttribute(System.Compiler.TypeNode[]) 
public class WaitJobCommand extends JobCmdletBase implements IDisposable

This cmdlet suppresses the command prompt until one or all of the Windows PowerShell background jobs that are running in the session are complete. For more information about this cmdlet, see Wait-Job in the Microsoft TechNet library.

For Help at the command line, type:

get-help wait-job


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


Show:
© 2015 Microsoft