Microsoft Teams and Skype for Business News and Thoughts

Tom Arbuthnot MVP
Tom Arbuthnot MCSM Communications

This site uses cookies

Find this blog useful? Please take a second to share, thanks!

Change Network Interface Firewall Profile with PowerShell

Published 27/12/2015 - 0 Comments

If you find your network has the wrong Firewall profile, you can set it with PowerShell

$Profile = Get-NetConnectionProfile -InterfaceAlias Ethernet1

$Profile.NetworkCategory = Private

Set-NetConnectionProfile -InputObject $Profile



Get your NIC Alias



Get the profile as a variable:


Set it to private in the variable:


And Apply it:



Credit to Ryan Ries on Server Fault

Tom Arbuthnot

Tom Arbuthnot

Principal Solutions Architect at Modality Systems
Tom Arbuthnot is Principal Solutions Architect at Unified Communications specialist Modality Systems. He is a Microsoft Certified Master and MVP, blogger, regular on The UC Architects Podcast, and speaker at events including Microsoft TechEd and Ignite. He co-runs The Microsoft UC User Group London.

No comments yet

Leave a Reply:


Weekly Email Update 
of all the key 
Microsoft Teams and Skype for Business News
every Tuesday

No Spam ever, I promise - Tom