Skip to content

Instantly share code, notes, and snippets.

@mgeeky
Last active November 9, 2018 00:52
Forcefully enable WinRM / PSRemoting.
Set-ExecutionPolicy -ExecutionPolicy Bypass ; Start-Service winrm ; Get-NetConnectionProfile | Set-NetConnectionProfile -NetworkCategory Private ; Enable-PSRemoting -SkipNetworkProfileCheck -Force ; winrm quickconfig ; Configure-SMRemoting -Force -Enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment