Change Windows Server 2012 R2 Network Connection from Public to Private

One liner via PowerShell (run as administrator)

Change Ethernet 1 as appropriate based on what is shown in Network and Sharing Center

Set-NetConnectionProfile -InterfaceAlias “Ethernet 1” -NetworkCategory Private

Note: you can also use this command to pull all information
Get-NetConnectionProfile

 

This entry was posted in Uncategorized. Bookmark the permalink.