Skip to content

Instantly share code, notes, and snippets.

@mgeeky
Last active November 9, 2018 00:52
Show Gist options
  • Save mgeeky/313c22def5c86d7a529f41e5b6ff79b8 to your computer and use it in GitHub Desktop.
Save mgeeky/313c22def5c86d7a529f41e5b6ff79b8 to your computer and use it in GitHub Desktop.
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