code: public PowerShell executeCommandAndChain(String command, PowerShellResponseHandler... response) {
          PowerShellResponse powerShellResponse = executeCommand(command);
  
          if (response.length > 0) {
              handleResponse(response[0], powerShellResponse);
          }
  
          return this;
      }
docs: Allows to chain command executions providing a more fluent API.<p>
  <p>
  This method allows also to optionally handle the response in a closure
  
  @param command  the command to execute
  @param response optionally, the response can be handled in a closure
  @return The {@link PowerShell} instance