Get-NetConnectionProfile -NetworkCategory "Public" | Set-NetConnectionProfile -NetworkCategory Private
Set-NetConnectionProfile -InterfaceAlias [AdapterNAME] -NetworkCategory [Private/Public]
Examples for copy paste :
Ethernet0 Private/Public:
Set-NetConnectionProfile -InterfaceAlias Ethernet0 -NetworkCategory Private Set-NetConnectionProfile -InterfaceAlias Ethernet0 -NetworkCategory Public
Ethernet1 Private/Public:
Set-NetConnectionProfile -InterfaceAlias Ethernet1 -NetworkCategory Private Set-NetConnectionProfile -InterfaceAlias Ethernet1 -NetworkCategory Public
1 Comment
Anonymous