Switching from Public to Private network via PowerShell
Posted by essjae on February 11, 2016
Here’s a quick way to get rid of the “public” network on Windows and switch it to a more usable private network type.
- Open a PowerShell Window.
- Get the list of network profiles on the system. Note the InterfaceIndex number listed, you’ll need it for the final step.
- Change the network interface to private, use the network interface index number from the previous command.
Set-NetConnectionProfile -InterfaceIndex xx -NetworkCategory Private