INFORMATICS

The Best

Change network profile from public to private

Звезда не активнаЗвезда не активнаЗвезда не активнаЗвезда не активнаЗвезда не активна
 

Change network profile from public to private

 

Get-NetConnectionProfile

Name : Public
InterfaceAlias : Ethernet 2
InterfaceIndex : 24
NetworkCategory : Public
IPv4Connectivity : Internet
IPv6Connectivity : LocalNetwork

Note the InterfaceIndex number

Change the NetConnectionProfile to private by running:

Set-NetConnectionProfile -InterfaceIndex 24 -NetworkCategory Private

Verify the NetworkCategory is changed to Private by running:

Get-NetConnectionProfile

Search