jueves, 12 de abril de 2018

WINDOWS. PS. Remote console.

Sometime you need connect to console in other computer. One way to do it...

Command: Enter-PSSession -ComputerName Name_SERVER -Credential user_ADM



One Example with variables:

$selected_host = Read-Host 'Select Host'
$selected_User = Read-Host 'Select Admin user'

Enter-PSSession -ComputerName $selected_host -Credential $selected_User


Check at Windows 2012R2 & W10
by GoN | Published: April 12, 2018 | Last Updated:

No hay comentarios: