Enable WinRM service remote connection
Enable-PSRemoting
ifconfig



Last updated
Enable-PSRemoting
ifconfig



Last updated
Start-Service WinRM
Get-Item WSMan:\localhost\Client\TrustedHosts
Set-Item WSMan:\localhost\Client\TrustedHosts -Value '192.168.126.139'
New-PSSession -ComputerName 192.168.126.139 -Credential (Get-Credential)
Enter-PSSession 2