Skip to content

Instantly share code, notes, and snippets.

View nironkoren's full-sized avatar

Niron Koren nironkoren

View GitHub Profile
@nironkoren
nironkoren / connect.ps1
Created July 16, 2017 16:34 — forked from jdforsythe/connect.ps1
Remote Desktop Auto Login Powershell Script
echo "Connecting to 192.168.1.100"
$Server="192.168.1.100"
$User="Administrator"
$Password="AdminPassword"
cmdkey /generic:TERMSRV/$Server /user:$User /pass:$Password
mstsc /v:$Server