Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Powershell cmdlet for Windows Firewall rules.

$
0
0

Windows Firewall with Advanced Security has rule groups (i.e. "Remote Desktop" group of rules) and profiles (Domain, Private, Public).

To enable a certain rule group via powershell you do the following:

Enable-NetFirewallRule -DisplayGroup "Remote Event Log Management"

How do you do the same thing for a certain profile only (i.e. Private)?

Thanks!


Viewing all articles
Browse latest Browse all 15370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>