rpc::connectcan be used to connect to an RPC endpoint. It has the following command line arguments:
/alg: the encryption algorithm to use for the connection. The options are 3DES or RC4. By default it uses 3DES.
/remote: the RPC server to connect
/noauth: no authentication is required to connect to the remote RPC endpoint
/authuser: the user for authentication
/authdomain: the domain of the authuser
/authpassword: the authuser's password
auth*arguments are needed.
*) should prepend the commands.