mirror of
https://github.com/hmalik144/PowerShell-contract.git
synced 2025-12-10 03:05:33 +00:00
12 lines
167 B
PowerShell
12 lines
167 B
PowerShell
echo "Connecting to remote "
|
|
|
|
$Server="dc1prdnet40"
|
|
|
|
$User="0hxmali"
|
|
|
|
$Password="*****"
|
|
|
|
cmdkey /generic:TERMSRV/$Server /user:$User /pass:$Password
|
|
|
|
mstsc /v:$Server
|