Set network profile to Private

Using Powershell. Here is an example of changing the network profile of a network interface called Ethernet to “Private.” This is a one line command.

Run as administrator

Set-NetConnectionProfile -InterfaceAlias Ethernet -NetworkCategory Private
 Use: get-NetConnectionProfile to check current status and names of your interfaces.