Set Network Interface from Public to Private
- 2017/07/24
- Category: Windows
Open PowerShell
Get Network Interface List
Get-NetConnectionProfile
Set Network Interface from Public to Private
Set-NetConnectionProfile -InterfaceAlias "<interface alias>" -NetworkCategory Private
Example:
Set-NetConnectionProfile -InterfaceAlias "Wi-Fi" -NetworkCategory Private