(self)
return [s for s in self.pipelines.values() if
                s.state == PSInvocationState.DISCONNECTED]
Creates a list of PowerShell objects that are in the Disconnected state
        for all currently disconnected running commands associated with this
        runspace pool.

        :return: List<PowerShell>: List of disconnected PowerShell objects
Creates a list of PowerShell objects that are in the Disconnected state
        for all currently disconnected running commands associated with this
        runspace pool.
Creates a list of PowerShell objects that are in the Disconnected state for all currently disconnected running commands associated with this runspace pool .
def create_disconnected_power_shells(self):
        """
        Creates a list of PowerShell objects that are in the Disconnected state
        for all currently disconnected running commands associated with this
        runspace pool.

        :return: List<PowerShell>: List of disconnected PowerShell objects
        """
        log.info("Getting list of disconnected PowerShells for the current "
                 "Runspace Pool")
        return [s for s in self.pipelines.values() if
                s.state == PSInvocationState.DISCONNECTED]
def create_disconnected_power_shells ( self ) : log . info ( "Getting list of disconnected PowerShells for the current " "Runspace Pool" ) return [ s for s in self . pipelines . values ( ) if s . state == PSInvocationState . DISCONNECTED ]