Skip to content

Instantly share code, notes, and snippets.

@ahhh
Created April 20, 2019 00:34
Show Gist options
  • Save ahhh/c434d5bc1f01f86620c40691f35819b8 to your computer and use it in GitHub Desktop.
Save ahhh/c434d5bc1f01f86620c40691f35819b8 to your computer and use it in GitHub Desktop.
Change a windows connection profile from Public to Private or Domain via PowerShell to enable sharing
Get-NetConnectionProfile
Set-NetConnectionProfile -InterfaceIndex <index number> -NetworkCategory Private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment