Assembly: System.Management.Automation (in System.Management.Automation.dll)
One of the following error conditions occurred:
The pipeline is not in the NotStarted state.
The runspace is not in the Opened state.
Results are returned through the pipeline output reader that can be accessed through the Output property.
When this method is used to invoke the pipeline asynchronously, the Input writer must be closed before the pipeline invocation can be completed.
This method cannot be called when another pipeline is running.
This method cannot be called multiple times on a given pipeline. The state of the pipeline must be NotStarted when this method is called. After it is called, it changes the state of the pipeline to Running. When the method is completed, it changes the state of pipeline to one of following:
Applications can get notified of pipeline state changes by registering for the StateChanged event. This event is raised each time the state of the pipeline changes.
Target PlatformsWindows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows 7, Windows 2008 R2, Windows Developer Preview, Windows Server Developer Preview
Send comments about this topic to Microsoft.