https://1337admin.org/windows-server/windows-server-2012-r2/change-network-location-using-powershell-in-windows/
Open an Administrator Powershell window Get-NetConnectionProfile Set-NetConnectionProfile -InterfaceIndex 15 -NetworkCategory Private Get-NetConnectionProfile | |
Search Keywords: Guest, Public Network, Private, File Sharing, Firewall, Connect |