jermdw
4/13/2018 - 3:41 AM

Enable PSRemoting

Enable PSRemoting

# Perform on Client computer
Set-Item wsman:\localhost\Client\TrustedHosts -Value < destination host > -Concatenate

# Ensure WinRM is running on destination host
Test-WSMan <destHost>

# Connect
$cred = Get-Credential

Enter-PSSession -computername <computername> -Credential $cred