https://www.itechtics.com/change-network-type-windows-10/
Setting network type using PowerShell
Open PowerShell with administrative privileges Run the following command: Get-NetConnectionProfile See the network name you want to change its type and run the following command: Set-NetConnectionProfile -Name “ITT” -NetworkCategory Public Where ITT is the name of your network and you can change the -NetworkCategory switch value to Public or Private.