Created
December 25, 2019 10:26
-
-
Save cherts/20f5dd74fda6161ddaff9b56085edf9e to your computer and use it in GitHub Desktop.
Set connection private on Windows Server 2012 R2
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
| $Profile = Get-NetConnectionProfile -InterfaceAlias "Ethernet 1" | |
| $Profile.NetworkCategory = "Private" | |
| Set-NetConnectionProfile -InputObject $Profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment