How to change network firewall profiles within Windows 8 using PowerShell
To change network firewall profiles within Windows 8 using PowerShell (such as going from Public to Private), use the following command to list all network interfaces and the current values.
Get-NetConnectionProfile
To modify the profile, use the following command including the network interface to change and the new value.
Set-NetConnectionProfile -InterfaceAlias Ethernet -NetworkCategory Private