Sep 5, 2024
mstsc
and press Enter.mstsc
to see available options./v
specifies server and port.hostname
.mstsc /v:hostname
and enter credentials.CMDKey /add:hostname /user:user /pass:password
@echo off
mstsc /v:hostname
to connect.CMDKey /delete:targetname