Windows - Changing a network interface profile to Private
Published: Windows Estimated reading time: ~1 minutes
Isn’t Windows Easy? Changing a network interface profile to Private
Windows interfaces kind of suck.
Let’s change one from whatever Windows decided to allocate it to and make it into a Private interface.
First, let’s take a look at all of the interfaces on the machine.
netsh interface ip show interfaces
This is great, but the PowerShell commands we are going to use will only alllow us to change active connections.
Run the following to find out what is active.
Get-NetConnectionProfile
Let’s switch that ‘Wi-Fi’ interface to Private.
Get-NetConnectionProfile -InterfaceAlias 'Wi-Fi' | Set-NetConnectionProfile -NetworkCategory Public
And isn’t that dandy? We switched it.