Skip to content

Instantly share code, notes, and snippets.

@willwm
Last active September 12, 2024 03:12
Show Gist options
  • Save willwm/e740f694cf0876d701bc671d4a110d6e to your computer and use it in GitHub Desktop.
Save willwm/e740f694cf0876d701bc671d4a110d6e to your computer and use it in GitHub Desktop.
Includes fix for "WinRM firewall exception will not work since one of the network connection types on this machine is set to Public."
# https://4sysops.com/archives/enabling-powershell-remoting-fails-due-to-public-network-connection-type/#changing-the-network-connection-type-with-powershell
Set-NetConnectionProfile -NetworkCategory Private
Enable-PSRemoting
@willwm
Copy link
Author

willwm commented Nov 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment