(self, to="none")
return self
Will merge all relevant streams to the stream specified of the last
        command in the pipeline.

        :param to: Can be one of the following
            none: Do not merge the streams
            output: Send all streams to the Output stream
        :return: The current PowerSHell instance with the last command set to
            Merge<stream> to the stream desired.
Will merge all relevant streams to the stream specified of the last
        command in the pipeline.
Will merge all relevant streams to the stream specified of the last command in the pipeline .
def merge_all(self, to="none"):
        """
        Will merge all relevant streams to the stream specified of the last
        command in the pipeline.

        :param to: Can be one of the following
            none: Do not merge the streams
            output: Send all streams to the Output stream
        :return: The current PowerSHell instance with the last command set to
            Merge<stream> to the stream desired.
        """
        self.merge_error(to)

        if version_equal_or_newer(self.runspace_pool.protocol_version, "2.2"):
            self.merge_debug(to)
            self.merge_verbose(to)
            self.merge_warning(to)

        if version_equal_or_newer(self.runspace_pool.protocol_version, "2.3"):
            self.merge_information(to)
        return self
def merge_all ( self , to = "none" ) : self . merge_error ( to ) if version_equal_or_newer ( self . runspace_pool . protocol_version , "2.2" ) : self . merge_debug ( to ) self . merge_verbose ( to ) self . merge_warning ( to ) if version_equal_or_newer ( self . runspace_pool . protocol_version , "2.3" ) : self . merge_information ( to ) return self