Set-NetConnectionProfile -InterfaceIndex <index number> -NetworkCategory Private
For example:
PS C:\> Get-NetConnectionProfile
Name : savilltech.net
InterfaceAlias : Internal
InterfaceIndex : 12
NetworkCategory : DomainAuthenticated
IPv4Connectivity : LocalNetwork
IPv6Connectivity : LocalNetwork
Name : Network
InterfaceAlias : Internet
InterfaceIndex : 13
NetworkCategory : Public
IPv4Connectivity : LocalNetwork
IPv6Connectivity : LocalNetwork
PS C:\> Set-NetConnectionProfile -InterfaceIndex 13 -NetworkCategory Private
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article