(self)
return self.end_invoke()
Connects to a running command on a remote server, waits until the
        command is finished and returns the output objects.

        :return: Command output as a PSDataCollection
Connects to a running command on a remote server, waits until the
        command is finished and returns the output objects.
Connects to a running command on a remote server waits until the command is finished and returns the output objects .
def connect(self):
        """
        Connects to a running command on a remote server, waits until the
        command is finished and returns the output objects.

        :return: Command output as a PSDataCollection
        """
        self.connect_async()
        return self.end_invoke()
def connect ( self ) : self . connect_async ( ) return self . end_invoke ( )