Created
April 20, 2019 00:34
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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