Change the Network Category in Windows Server 2012 with PowerShell

This article describes how we can change the network category from “Public network” to “Private network” with the Windows PowerShell.

First let us get a list of all available network profiles on your system.

Get-NetConnectionProfile

Get-NetConnectionProfile

Now let us change the network category to Private, (use the InterfaceIndex number from the selected network profile within the Set command).

Set-NetConnectionProfile -InterfaceIndex 17 -NetworkCategory Private

 

By | 2016-10-22T11:39:41+00:00 May 23rd, 2016|Allgemein, PowerShell, Windows Server|Comments Off on Change the Network Category in Windows Server 2012 with PowerShell