I'm having trouble creating a Powershell script that will open an RDP session without a prompt asking for a password.
I've followed the instructions in the following post, however the password prompt always pops up.
Here is the script:
cmdkey /generic:"server ip" /user:"username" /pass:"password"
mstsc /v:"server ip"
Does anyone know what I'm doing wrong? Is it possible to execute within the realm of Powershell? Thanks!