Changing Windows Network Profile


Changing Windows Network Profile

Windows Logo
Get-NetConnectionProfile
Name : Wireless
InterfaceAlias : Wi-Fi
InterfaceIndex : 2
NetworkCategory : Public
IPv4Connectivity : Internet
IPv6Connectivity : NoTraffic

Name : Ethernet
InterfaceAlias : LAN
InterfaceIndex : 1
NetworkCategory : Public
IPv4Connectivity : NoTraffic
IPv6Connectivity : NoTraffic
Set-NetConnectionProfile -Name "Wireless" -NetworkCategory Private
Set-NetConnectionProfile -Name "Ethernet" -NetworkCategory Private
Get-NetConnectionProfile
Name : Wireless
InterfaceAlias : Wi-Fi
InterfaceIndex : 2
NetworkCategory : Private
IPv4Connectivity : Internet
IPv6Connectivity : NoTraffic

Name : Ethernet
InterfaceAlias : LAN
InterfaceIndex : 1
NetworkCategory : Private
IPv4Connectivity : NoTraffic
IPv6Connectivity : NoTraffic
,