I am using Hamachi to connect from home to the office and vice-versa - but I am having problems when connecting from office to home.
At home Hamachi is on a public network, how can I change this to private network?
I saw this question but it is Windows 7:
How to change from Public network to Private network
Plus I would like it in Powershell.
1 Answer
I found this article:
How to force a network type in Windows using PowerShell
Get the powershell script running:
#check the network you got - get the names
Get-NetConnectionProfile
#the name of my network is - Network 2 - that's the one I am making private
#make it private
Set-NetConnectionProfile -Name "Network 2" -NetworkCategory Private
#check out the results
Get-NetConnectionProfileto check it through Windows:
- Right click on the network thingy at the right hand side - choose
Open Network & Internet settings