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:
Publicar un comentario