Powershell Remote Desktop Connection specifying user and password
From the "Remote Desktop Connection Usage" help menu, there is no switch like "/user" or "/password".
Please try
cmdkey /generic:"server01" /user:"test" /pass:"PW"
Then used mstsc /v:server01 to connect to the server.