In an administrator PowerShell console
Get-NetConnectionProfileSet-NetConnectionProfile -InterfaceAlias "Ethernet" -NetworkCategory Private
or
Set-NetConnectionProfile -Name "Ethernet" -NetworkCategory Private
In an administrator PowerShell console
Get-NetConnectionProfileSet-NetConnectionProfile -InterfaceAlias "Ethernet" -NetworkCategory Privateor
Set-NetConnectionProfile -Name "Ethernet" -NetworkCategory Private